Merge pull request #18912 from Homebrew/merge_group_not_push
github/workflows: use merge_group instead of push events.
This commit is contained in:
commit
29e9087537
3
.github/workflows/actionlint.yml
vendored
3
.github/workflows/actionlint.yml
vendored
@ -2,8 +2,6 @@ name: actionlint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/*.ya?ml'
|
||||
- '.github/actionlint.yaml'
|
||||
@ -11,7 +9,6 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/*.ya?ml'
|
||||
- '.github/actionlint.yaml'
|
||||
merge_group:
|
||||
|
||||
env:
|
||||
HOMEBREW_DEVELOPER: 1
|
||||
|
||||
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@ -2,9 +2,6 @@ name: Docker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
merge_group:
|
||||
release:
|
||||
types:
|
||||
@ -75,7 +72,7 @@ jobs:
|
||||
"homebrew/brew:latest"
|
||||
)
|
||||
fi
|
||||
elif [[ "${GITHUB_EVENT_NAME}" == "push" &&
|
||||
elif [[ "${GITHUB_EVENT_NAME}" == "merge_group" &&
|
||||
"${GITHUB_REF}" == "refs/heads/master" &&
|
||||
"${{ matrix.version }}" == "22.04" ]]; then
|
||||
tags+=(
|
||||
|
||||
3
.github/workflows/docs.yml
vendored
3
.github/workflows/docs.yml
vendored
@ -1,9 +1,6 @@
|
||||
name: Documentation CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
merge_group:
|
||||
|
||||
|
||||
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -1,9 +1,6 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
merge_group:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user