add condition to Action
The minify-map-json action is causing itself to run every time its PRs are merged. This hopefully will stop that happening, but ignoring anything with an 'automated' label and then applying that label when pushing the PR
This commit is contained in:
parent
cc885cfc36
commit
88cfcaf913
1
.github/workflows/minify-map-json.yml
vendored
1
.github/workflows/minify-map-json.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
processJson:
|
processJson:
|
||||||
|
if: ${{ github.event.label.name != 'automated' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in a new issue