Merge pull request #18912 from Homebrew/merge_group_not_push

github/workflows: use merge_group instead of push events.
This commit is contained in:
Mike McQuaid 2024-12-10 17:32:53 +00:00 committed by GitHub
commit 29e9087537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 13 deletions

View File

@ -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

View File

@ -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+=(

View File

@ -1,9 +1,6 @@
name: Documentation CI
on:
push:
branches:
- master
pull_request:
merge_group:

View File

@ -1,9 +1,6 @@
name: CI
on:
push:
branches:
- master
pull_request:
merge_group: