Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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