Skip to content
Open
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
7 changes: 6 additions & 1 deletion .github/workflows/ftk-pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ env:
AZ_RESOURCES_VERSION: '6.16.2'
AZ_STORAGE_VERSION: '6.2.0'

# Deploy runs for the same PR share one group so a new push cancels the
# in-flight deployment. Label events that are NOT 'Needs: Deployment' are no-ops
# (see the check-options condition below), so they get a unique, throwaway group
# β€” otherwise an unrelated bot label would cancel a running deployment and leave
# only skipped jobs behind, which reads as "deployment not requested".
concurrency:
group: ftk-pr-${{ github.event.pull_request.number }}
group: "ftk-pr-${{ github.event.pull_request.number }}${{ (github.event_name == 'pull_request_target' && github.event.label.name != 'Needs: Deployment') && format('-noop-{0}', github.run_id) || '' }}"
cancel-in-progress: true

permissions:
Expand Down