Prevent releases on wrong tag

This commit is contained in:
Bassem Dghaidi 2023-03-14 12:47:40 +00:00 committed by GitHub
parent 3e37a29c21
commit 29ca49037a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ jobs:
release-controller:
name: Release
runs-on: ubuntu-latest
if: ${{ !startsWith(github.event.inputs.release_tag_name, 'gha-runner-scale-set-') }}
if: ${{ !startsWith(github.ref, 'refs/tags/gha-runner-scale-set-') }}
steps:
- name: Checkout
uses: actions/checkout@v3