chore: update workflow to check the username is the github bot that creates the commit message

This commit is contained in:
blam
2021-01-09 22:54:01 +01:00
parent 5c65ba2ffd
commit 0f2f8e2939
+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: contains(github.event.commits.*.author.username, 'backstage-service') && contains(github.event.head_commit.message, 'from backstage/changeset-release/master')
if: contains(github.event.commits.*.author.username, 'github-actions[bot]') && contains(github.event.head_commit.message, 'from backstage/changeset-release/master')
needs: build
runs-on: ubuntu-latest