Skip to content

Commit

Permalink
Merge pull request #1 from pddglab/merge-queue-sample-1
Browse files Browse the repository at this point in the history
add step to fail workflow when merge_group
  • Loading branch information
pddg authored Jan 17, 2024
2 parents fcd92f2 + fbbc716 commit 67f3738
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 @@ -14,6 +14,9 @@ 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
next:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 67f3738

Please sign in to comment.