🔄 synced file(s) with bitnami/support (#53399)

🔄 synced local '.github/workflows/' with remote 'workflows/'

Signed-off-by: bitnami-bot <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-12-05 16:14:10 +01:00
committed by GitHub
parent a0b0d36974
commit e1e8879f34
2 changed files with 33 additions and 8 deletions

View File

@@ -0,0 +1,18 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
name: '[Support] Review based card movements'
on:
pull_request_target:
types:
- review_requested
- synchronize
permissions:
contents: read
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.number }}
jobs:
call-pr-review-workflow:
uses: bitnami/support/.github/workflows/pr-review-requested-sync.yml@main
secrets: inherit

View File

@@ -1,18 +1,25 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
name: '[Support] Review based card movements'
name: '[Support] PR review comment card movements'
on:
pull_request_target:
pull_request_review_comment:
types:
- review_requested
- synchronize
permissions:
contents: read
- created
pull_request_review:
types:
- submitted
- dismissed
permissions: {}
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.number }}
group: card-movement-${{ github.event.pull_request.number }}
jobs:
call-pr-review-comment-workflow:
if: ${{ github.event_name == 'pull_request_review_comment' }}
uses: bitnami/support/.github/workflows/pr-review-comment.yml@main
secrets: inherit
call-pr-review-workflow:
uses: bitnami/support/.github/workflows/pr-review-requested-sync.yml@main
if: ${{ github.event_name == 'pull_request_review' }}
uses: bitnami/support/.github/workflows/pr-review.yml@main
secrets: inherit