Skip to content

Commit

Permalink
🔄 synced local '.github/workflows/' with remote 'workflows/' (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: bitnami-bot <bitnami-bot@vmware.com>
  • Loading branch information
bitnami-bot authored Dec 5, 2023
1 parent 24c3849 commit 7335ebc
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ permissions:
contents: read
pull-requests: write
issues: write
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.issue.number }}
jobs:
call-comments-workflow:
uses: bitnami/support/.github/workflows/comment-created.yml@main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/move-closed-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
permissions:
issues: write
pull-requests: write
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.repository.id }}-${{ github.event.issue != null && github.event.issue.number || github.event.number }}
jobs:
call-move-closed-workflow:
uses: bitnami/support/.github/workflows/item-closed.yml@main
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/pr-reviews-requested.yml
Original file line number Diff line number Diff line change
@@ -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
24 changes: 17 additions & 7 deletions .github/workflows/pr-reviews.yml
Original file line number Diff line number Diff line change
@@ -1,15 +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.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
3 changes: 3 additions & 0 deletions .github/workflows/reasign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ permissions:
contents: read
pull-requests: write
issues: write
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }}
jobs:
call-reasign-workflow:
uses: bitnami/support/.github/workflows/item-labeled.yml@main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ permissions:
contents: read
pull-requests: write
issues: write
# Avoid concurrency over the same issue
concurrency:
group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }}
jobs:
call-triage-workflow:
uses: bitnami/support/.github/workflows/item-opened.yml@main
Expand Down

0 comments on commit 7335ebc

Please sign in to comment.