watchdog-go: ci動作の条件を変更 #4
|
@ -1,6 +1,9 @@
|
|||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
- synchronize
|
||||
- closed
|
||||
workflow_dispatch:
|
||||
|
||||
|
@ -15,7 +18,7 @@ jobs:
|
|||
defaults:
|
||||
run:
|
||||
working-directory: ./watchdog-go
|
||||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name,'watchdog-go')
|
||||
if: contains(github.event.pull_request.labels.*.name,'watchdog-go')
|
||||
|
||||
|
||||
steps:
|
||||
|
@ -31,4 +34,4 @@ jobs:
|
|||
context: ./watchdog-go
|
||||
|
||||
tags: git.usbharu.dev/usbharu/watchdog-go:latest,git.usbharu.dev/usbharu/watchdog-go:${{ github.sha }}
|
||||
push: true
|
||||
push: $${{ github.event.pull_request.merged == true }}
|
Loading…
Reference in New Issue