workflows: fix check for Version Packages PR

This commit is contained in:
Patrik Oldsberg
2021-01-07 13:38:25 +01:00
parent cb0c59b351
commit 317457638f
+1 -1
View File
@@ -82,7 +82,7 @@ jobs:
# We can't re-use the output from the above step, but we'll have a guaranteed node_modules cache and
# only run the build steps that are necessary for publishing
release:
if: ${{ endsWith(github.event.head_commit.message, 'from backstage/changeset-release/master\n\nVersion Packages') }}
if: github.event.commits[0].author.username == 'backstage-service' && contains(github.event.head_commit.message, 'from backstage/changeset-release/master')
needs: build
runs-on: ubuntu-latest