Skip to content

Commit 7c192d6

Browse files
heiskrCopilot
andauthored
Skip duplicate Moda CI builds after merge queue (#63670)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f54fbf5-61d3-4bad-acb8-c9166d568794 Copilot-Session: c462fcc6-586e-4858-9e25-7cc27bd7fa50
1 parent 8260600 commit 7c192d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/moda-ci.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ permissions: {}
1515

1616
jobs:
1717
set-vault-keys:
18+
# Merge queue already built and checked this SHA. Repo-sync and admin merges bypass the queue and still build.
19+
# The actor check only skips a duplicate build and grants no access.
20+
if: ${{ !(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.actor == 'github-merge-queue[bot]') }} # zizmor: ignore[bot-conditions]
1821
permissions: {}
1922
runs-on: ubuntu-latest
2023
outputs:

0 commit comments

Comments
 (0)