Skip to content

Commit 019b660

Browse files
authored
Update release tagging workflow to handle external triggering (#1482)
When triggered from Chromium CI, the credential is for the emscripten-bot account.
1 parent d63e0d4 commit 019b660

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tag-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
# The assumption is that when manual changes happen, we want to handle
1818
# tagging manually too.
1919
name: Check for release commit and create tag
20-
if: github.event.head_commit.author.username == 'github-actions[bot]'
20+
# The author is emscripten-bot when triggered from Chromium CI, and github-actions when manually triggered.
21+
if: ${{ github.event.head_commit.author.username == 'github-actions[bot]' || github.event.head_commit.author.username == 'emscripten-bot' }}
2122
runs-on: ubuntu-latest
2223
outputs:
2324
is_release: ${{ steps.create-tag.outputs.result }}

0 commit comments

Comments
 (0)