Prevent releases on wrong tag

This commit is contained in:
Bassem Dghaidi 2023-03-14 12:52:38 +00:00 committed by GitHub
parent ee3bf67544
commit 9c3fce4727
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.release.name, 'gha-runner-scale-set-') }}
if: ${{ !contains(github.event.release.name, 'gha-runner-scale-set-') }}
steps:
- name: Checkout
uses: actions/checkout@v3