[AI] Skip release notes check for Dependabot PRs (#8185)

Dependabot never adds a file under upcoming-release-notes/, so the
check-release-notes job always failed on its PRs. Skip the check when
the PR author is dependabot[bot].

https://claude.ai/code/session_014oT7jczAkGT8RSwJYpPBur

Co-authored-by: Claude <[email protected]>
This commit is contained in:
Matiss Janis Aboltins
2026-06-11 17:02:18 +00:00
committed by GitHub
co-authored by Claude
parent 7ac771c806
commit ecbdea2e22
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ jobs:
github.event_name == 'pull_request'
&& github.head_ref != 'release'
&& startsWith(github.head_ref, 'release-notes/') == false
&& github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: read
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
Skip the release notes check for Dependabot pull requests