From ec7f1f54cac9106ff3425fd119e09918239b718e Mon Sep 17 00:00:00 2001 From: Justin Dalrymple Date: Tue, 19 Dec 2023 02:05:32 -0500 Subject: [PATCH] Add more restrictions before deloying, include fetch tags options --- .github/workflows/pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index ae4ea83..1682817 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -63,13 +63,14 @@ jobs: release: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'skip ci') needs: [lint, format, build, test] steps: - name: Checkout uses: actions/checkout@v4 with: token: ${{ secrets.GH_TOKEN }} + fetch-tags: true - uses: ./.github/actions/setup - name: Retrieve saved build files uses: actions/download-artifact@v3