Skip to content

Commit

Permalink
Update release tagging workflow to handle external triggering (#1482)
Browse files Browse the repository at this point in the history
When triggered from Chromium CI, the credential is for the
emscripten-bot account.
  • Loading branch information
dschuff authored Nov 4, 2024
1 parent d63e0d4 commit 019b660
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
# The assumption is that when manual changes happen, we want to handle
# tagging manually too.
name: Check for release commit and create tag
if: github.event.head_commit.author.username == 'github-actions[bot]'
# The author is emscripten-bot when triggered from Chromium CI, and github-actions when manually triggered.
if: ${{ github.event.head_commit.author.username == 'github-actions[bot]' || github.event.head_commit.author.username == 'emscripten-bot' }}
runs-on: ubuntu-latest
outputs:
is_release: ${{ steps.create-tag.outputs.result }}
Expand Down

0 comments on commit 019b660

Please sign in to comment.