watchdog-go: ciをマージ後に行えるように
/ build-docker-image (pull_request) Failing after 16s
Details
/ build-docker-image (pull_request) Failing after 16s
Details
This commit is contained in:
parent
f6b76352d6
commit
b7955a2739
|
@ -1,21 +1,13 @@
|
|||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- labeled
|
||||
- closed
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo ${{github.event.action}}
|
||||
- run: echo ${{ contains(github.event.pull_request.labels.*.name, 'watchdog-go') }}
|
||||
|
||||
build-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -23,12 +15,8 @@ jobs:
|
|||
defaults:
|
||||
run:
|
||||
working-directory: ./watchdog-go
|
||||
if: |
|
||||
((github.event.action == 'labeled') &&
|
||||
(github.event.label.name == 'watchdog-go')) ||
|
||||
((github.event.action == 'synchronized') &&
|
||||
contains(github.event.pull_request.labels.*.name, 'watchdog-go')) ||
|
||||
(github.event.action == 'workflow_dispatch')
|
||||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name,'watchdog-go')
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
Loading…
Reference in New Issue