Skip to content

Commit

Permalink
Support GitHub merge queues
Browse files Browse the repository at this point in the history
Add merge_group as a valid event. Allows the action to run against
commits that are part of a merge queue.

Example failure:

github.com/submariner-io/coastguard/actions/runs/4618846627/jobs/8166807512

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
  • Loading branch information
dfarrell07 committed Apr 5, 2023
1 parent 8673d84 commit 496e590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const core = require('@actions/core')
const github = require('@actions/github')

const validEvent = ['pull_request']
const validEvent = ['pull_request', 'merge_group']

async function main() {
try {
Expand Down

0 comments on commit 496e590

Please sign in to comment.