Skip to content

Commit 7baa55e

Browse files
authored
add copilot exception (#2066)
1 parent a52195a commit 7baa55e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/bot-prs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
run: |
1717
number=${{ github.event.pull_request.number }}
1818
is_bot=$(gh pr view $number --json author --jq '.author.is_bot')
19-
if [[ $is_bot == "true" ]]; then
19+
bot_login=$(gh pr view $number --json author --jq '.author.login')
20+
if [[ $is_bot == "true" && $bot_login != "copilot-swe-agent" ]]; then
2021
gh pr edit $number --add-label "no releasenotes"
2122
fi
2223
env:

0 commit comments

Comments
 (0)