Prevent releases on wrong tag

This commit is contained in:
Bassem Dghaidi
2023-03-14 12:51:12 +00:00
committed by GitHub
parent 29ca49037a
commit ee3bf67544

View File

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