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

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