File tree Expand file tree Collapse file tree 4 files changed +10
-39
lines changed Expand file tree Collapse file tree 4 files changed +10
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3434 git config --global user.name "Your Name"
3535 git remote -v
3636 # Ensure there's no merge commits in the PR
37- # [[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
38- # (echo "::error ::Merge commits not allowed, rebase instead";false)
37+ [[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
38+ (echo "::error ::Merge commits not allowed, rebase instead";false)
3939 rm -fr ".git/rebase-apply"
4040 rm -fr ".git/rebase-merge"
4141 git rebase origin/${BASE_REF}
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- -e Kconfig -e KconfigBasicNoModules -e ModulesMaintainers -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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class TitleMaxLengthRevert(LineRule):
7878 name = "title-max-length-no-revert"
7979 id = "UC5"
8080 target = CommitMessageTitle
81- options_spec = [IntOption ('line-length' , 120 , "Max line length" )]
81+ options_spec = [IntOption ('line-length' , 75 , "Max line length" )]
8282 violation_message = "Commit title exceeds max length ({0}>{1})"
8383
8484 def validate (self , line , _commit ):
@@ -103,7 +103,7 @@ class MaxLineLengthExceptions(LineRule):
103103 name = "max-line-length-with-exceptions"
104104 id = "UC4"
105105 target = CommitMessageBody
106- options_spec = [IntOption ('line-length' , 120 , "Max line length" )]
106+ options_spec = [IntOption ('line-length' , 75 , "Max line length" )]
107107 violation_message = "Commit message body line exceeds max length ({0}>{1})"
108108
109109 def validate (self , line , _commit ):
You can’t perform that action at this time.
0 commit comments