Skip to content

Commit 6f6a687

Browse files
pdgendtkartben
authored andcommitted
ci: compliance: Exclude the Identity check for dependabot
The identity check for dependabot will always fail, skip it for PRs created by dependabot. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 1cccf28 commit 6f6a687

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/compliance.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ jobs:
7272
git log --pretty=oneline | head -n 10
7373
# Increase rename limit to allow for large PRs
7474
git config diff.renameLimit 10000
75-
./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e SysbuildKconfigBasic -e ClangFormat \
76-
-c origin/${BASE_REF}..
75+
excludes="-e KconfigBasic -e SysbuildKconfigBasic -e ClangFormat"
76+
# The signed-off-by check for dependabot should be skipped
77+
if [ "${{ github.actor }}" == "dependabot[bot]" ]; then
78+
excludes="$excludes -e Identity"
79+
fi
80+
./scripts/ci/check_compliance.py --annotate $excludes -c origin/${BASE_REF}..
7781
7882
- name: upload-results
7983
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1

0 commit comments

Comments
 (0)