From 88cfcaf913a33e71c6f250288523777dfe9519ed Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Fri, 29 Jan 2021 09:50:15 +1100 Subject: [PATCH] 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 --- .github/workflows/minify-map-json.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/minify-map-json.yml b/.github/workflows/minify-map-json.yml index 5a24abd..478da2b 100644 --- a/.github/workflows/minify-map-json.yml +++ b/.github/workflows/minify-map-json.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: jobs: processJson: + if: ${{ github.event.label.name != 'automated' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2