From 4b3a922c9fc34e6048fe8d2e5c3c18eb087deb6b Mon Sep 17 00:00:00 2001 From: Tom Hanika Date: Wed, 4 Sep 2024 12:29:28 +0200 Subject: [PATCH] Adapted workflow for update-deps-lock.yaml when release If release tag is pushed, the script failed. The reason is, that the head is not a branch head anymore. --- .github/workflows/update-deps-lock.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-deps-lock.yaml b/.github/workflows/update-deps-lock.yaml index 5a0dd72d..bc1ea438 100644 --- a/.github/workflows/update-deps-lock.yaml +++ b/.github/workflows/update-deps-lock.yaml @@ -6,6 +6,7 @@ on: jobs: update-lock: + if: startsWith(github.ref, 'refs/heads/') runs-on: ubuntu-latest steps: