From 0f2f8e2939c2ae2ca715fe3b95da57e8e557ecda Mon Sep 17 00:00:00 2001 From: blam Date: Sat, 9 Jan 2021 22:54:01 +0100 Subject: [PATCH] chore: update workflow to check the username is the github bot that creates the commit message --- .github/workflows/master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index d49f82c235..6f45968002 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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