mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
ci: run build after label and merge event is complete
This commit is contained in:
parent
07aa4bdb08
commit
6ddd933edc
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build-deploy-image.yml
vendored
6
.github/workflows/build-deploy-image.yml
vendored
|
|
@ -12,7 +12,11 @@ jobs:
|
|||
Build-Container-Image:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: ${{ github.event.label.name == 'CI:Build' }} # source: https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
|
||||
|
||||
#if: ${{ github.event.label.name == 'CI:Build' }} # source: https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
|
||||
|
||||
# Run the build once the merge is complete: https://github.com/orgs/community/discussions/26724#discussioncomment-3253096
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
Loading…
Reference in a new issue