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*.*.*'
|
- 'v*.*.*'
|
||||||
pull_request:
|
pull_request:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
types:
|
||||||
|
- checks_requested
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
use_cache:
|
use_cache:
|
||||||
|
|
|
||||||
2
.github/workflows/oxipng.yml
vendored
2
.github/workflows/oxipng.yml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
types:
|
||||||
|
- checks_requested
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue