Skip to content

Commit 43fd51e

Browse files
committed
exclude dependabot PRs from check
1 parent e092e80 commit 43fd51e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pr-build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ jobs:
1919

2020
- name: Check CHANGELOG
2121
run: |
22-
# Check if PR is from pre-release or post-release workflow
22+
# Check if PR is from workflows bot or dependabot
2323
if [[ "${{ github.event.pull_request.user.login }}" == "aws-application-signals-bot" ]]; then
2424
echo "Skipping check: PR from aws-application-signals-bot"
2525
exit 0
2626
fi
2727
28+
if [[ "${{ github.event.pull_request.user.login }}" == "dependabot[bot]" ]]; then
29+
echo "Skipping check: PR from dependabot"
30+
exit 0
31+
fi
32+
2833
# Check for Skip Changelog label
2934
if echo '${{ toJSON(github.event.pull_request.labels.*.name) }}' | jq -r '.[]' | grep -q "Skip Changelog"; then
3035
echo "Skipping check: Skip Changelog label found"

0 commit comments

Comments
 (0)