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"