From c11fa4fa2708ef802f4c79537641b3ab4718273d Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Thu, 17 Oct 2024 08:01:32 +1100 Subject: [PATCH] ci: Don't be in snapshot mode if triggered by workflow run. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3e0dfb06..9386ac51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: # https://github.com/orgs/community/discussions/26238 if: ${{ !github.event.workflow_run || github.event.workflow_run.conclusion == 'success' }} steps: - - if: ${{ !startsWith(github.ref, 'refs/tags/') }} + - if: ${{ !startsWith(github.ref, 'refs/tags/') || github.event.workflow_run }} run: echo "flags=--snapshot" >> $GITHUB_ENV - uses: actions/checkout@v4 with: