Restrict merge_group trigger to checks_requested activity
Explicitly define the activity type for merge_group to prevent unnecessary workflow runs when a merge group is destroyed.
This commit is contained in:
parent
2a69093136
commit
fbe37b1edf
2 changed files with 4 additions and 0 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -7,6 +7,8 @@ on:
|
|||
- 'v*.*.*'
|
||||
pull_request:
|
||||
merge_group:
|
||||
types:
|
||||
- checks_requested
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
use_cache:
|
||||
|
|
|
|||
2
.github/workflows/oxipng.yml
vendored
2
.github/workflows/oxipng.yml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
pull_request:
|
||||
merge_group:
|
||||
types:
|
||||
- checks_requested
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
|
|
|||
Loading…
Reference in a new issue