Skip to content

Commit 414b465

Browse files
committed
fix(ci): skip contributor-report for bot-authored PRs
Release-please creates PRs as dallay-bot[bot], which the contributor-report action cannot resolve. Skip the workflow when the PR author type is 'Bot'.
1 parent 4cf4971 commit 414b465

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/contributor-report.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
types: [opened, reopened, synchronize, edited]
66

7+
# Skip bot-authored PRs (e.g., release-please) since contributor-report
8+
# cannot resolve GitHub App bot users like "dallay-bot[bot]".
9+
if: ${{ github.event.pull_request.user.type != 'Bot' }}
10+
711
permissions:
812
contents: read
913
pull-requests: write

0 commit comments

Comments
 (0)