Skip to content

Commit

Permalink
Apparently the user is an Organization
Browse files Browse the repository at this point in the history
  • Loading branch information
nwiltsie committed Jul 30, 2024
1 parent 2c13cdc commit 6251c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-new-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
process.exit()
}
if (context.payload.pull_request.user.type !== 'bot') {
core.setFailed('Workflow should only be called for bot-generated release PRs')
if (!['Bot', 'Organization'].includes(context.payload.pull_request.user.type)) {
core.setFailed('Workflow should only be called for Bot- or Organization-generated release PRs')
process.exit()
}
Expand Down

0 comments on commit 6251c32

Please sign in to comment.