Skip to content

Commit

Permalink
GitHub Workflow Merge Queues (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR authored Dec 21, 2024
2 parents c693912 + 79a0291 commit 668f858
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
- opened
- reopened
- synchronize
# Validate pull request when added to a merge queue.
merge_group:
types:
- checks_requested

# Allow at most one instance of this workflow to run at a time.
concurrency:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
branches:
- main

# Allow at most one instance of this workflow to run at a time.
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read # for checkout

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ on:
pull_request:
branches:
- main
# Validate pull request when added to a merge queue.
merge_group:
branches:
- main
types:
- checks_requested

permissions:
contents: read
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: Test

on:
# Validate pull request when new commits are pushed.
push:
# Validate pull request when added to a merge queue.
merge_group:
types:
- checks_requested

env:
# Don't install husky hooks
Expand Down

0 comments on commit 668f858

Please sign in to comment.