From 7801b6e5e9ddf0e743e03fc119012e3979db4474 Mon Sep 17 00:00:00 2001 From: Gabriele Modena Date: Fri, 13 Dec 2024 22:35:22 +0100 Subject: [PATCH] flakehub: don't attempt to publish latest tag. --- .github/workflows/flakehub-publish-tagged.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/flakehub-publish-tagged.yml b/.github/workflows/flakehub-publish-tagged.yml index 6565547..e3e76b9 100644 --- a/.github/workflows/flakehub-publish-tagged.yml +++ b/.github/workflows/flakehub-publish-tagged.yml @@ -11,6 +11,8 @@ on: required: true jobs: flakehub-publish: + # Prevent workflow from running if tag is 'latest' + if: ${{ inputs.tag != 'latest' }} runs-on: "ubuntu-latest" permissions: id-token: "write"