Skip to content

Commit

Permalink
Merge pull request #2 from pddglab/merge-queue-sample-2
Browse files Browse the repository at this point in the history
add step to fail workflow on next job when merge_group
  • Loading branch information
pddg authored Jan 17, 2024
2 parents fcd92f2 + 0af1139 commit 31565ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT" | jq . | tee event.json
- name: must be failed when merge_group
if: github.event_name == 'merge_group'
run: exit 1

0 comments on commit 31565ca

Please sign in to comment.