mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Updated build.yml for on_pull req
This commit is contained in:
parent
f5de6257b9
commit
c2d8ea8a5e
1 changed files with 8 additions and 4 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -1,8 +1,10 @@
|
|||
name: Build & push
|
||||
|
||||
name: Last
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
labels: ['CI:Build']
|
||||
branches:
|
||||
- master
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -14,6 +16,8 @@ jobs:
|
|||
push-app-image:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
|
||||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build')
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
Loading…
Reference in a new issue