fix: add new flag in autoupdate action

trigger autoupdate workflow when autoupdate label is added

VAN-1349
This commit is contained in:
ahtesham-quraish
2023-03-31 15:18:15 +05:00
committed by Blue
parent ef66eb1c31
commit d7ad7e314d

View File

@@ -3,9 +3,17 @@ on:
push:
branches:
- master
pull_request:
types: [ labeled ]
branches:
- master
jobs:
autoupdate:
name: autoupdate
if: |
github.event_name == 'pull_request' &&
github.event.action == 'labeled' &&
github.event.label.name == 'autoupdate'
runs-on: ubuntu-22.04
steps:
- uses: docker://chinthakagodawita/autoupdate-action:v1