File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,20 @@ jobs:
1717
1818 - name : Check CHANGELOG
1919 run : |
20- # Check if PR is from bot
20+ # Check if PR is from workflows bot or dependabot
2121 if [[ "${{ github.event.pull_request.user.login }}" == "aws-application-signals-bot" ]]; then
22- echo "Skipping: PR from aws-application-signals-bot"
22+ echo "Skipping check: PR from aws-application-signals-bot"
23+ exit 0
24+ fi
25+
26+ if [[ "${{ github.event.pull_request.user.login }}" == "dependabot[bot]" ]]; then
27+ echo "Skipping check: PR from dependabot"
2328 exit 0
2429 fi
2530
2631 # Check for Skip Changelog label
27- if echo '${{ toJSON(github.event.pull_request.labels.*.name) }}' | jq -r '.[]' | grep -q "Skip Changelog "; then
28- echo "Skip Changelog label found - check passed "
32+ if echo '${{ toJSON(github.event.pull_request.labels.*.name) }}' | jq -r '.[]' | grep -q "skip changelog "; then
33+ echo "Skipping check: Skip Changelog label found"
2934 exit 0
3035 fi
3136
You can’t perform that action at this time.
0 commit comments