From 1a4725ba34d4ca91057d4f03de8f671f3181ac3a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 27 Nov 2023 17:30:48 +0100 Subject: [PATCH] Skip workflow if it's not triggered by tag. --- .github/workflows/build_pkg.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index dfe3c45..f734b0f 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -40,6 +40,7 @@ jobs: build_options: ${{ steps.build.outputs.build_options }} release: ${{ steps.release.outputs.release }} runs-on: ubuntu-latest + if: github.ref_type == 'tag' steps: - uses: actions/checkout@v4 with: