Skip to content

Commit

Permalink
Revert "[nrf noup] ci: NCS-specific CI tweaks"
Browse files Browse the repository at this point in the history
This reverts commit 6692263.

Signed-off-by: Grzegorz Swiderski <[email protected]>
  • Loading branch information
57300 committed Feb 26, 2025
1 parent 01a4ae2 commit 7ff1076
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 38 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/commit-tags.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
git config --global user.name "Your Name"
git remote -v
# Ensure there's no merge commits in the PR
#[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
#(echo "::error ::Merge commits not allowed, rebase instead";false)
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
(echo "::error ::Merge commits not allowed, rebase instead";false)
rm -fr ".git/rebase-apply"
rm -fr ".git/rebase-merge"
git rebase origin/${BASE_REF}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
# Increase rename limit to allow for large PRs
git config diff.renameLimit 10000
./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e ClangFormat \
-e Kconfig -e KconfigBasicNoModules -e ModulesMaintainers -c origin/${BASE_REF}..
-c origin/${BASE_REF}..
- name: upload-results
uses: actions/upload-artifact@v4
Expand Down
5 changes: 0 additions & 5 deletions Jenkinsfile

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/gitlint/zephyr_commit_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class TitleMaxLengthRevert(LineRule):
name = "title-max-length-no-revert"
id = "UC5"
target = CommitMessageTitle
options_spec = [IntOption('line-length', 120, "Max line length")]
options_spec = [IntOption('line-length', 75, "Max line length")]
violation_message = "Commit title exceeds max length ({0}>{1})"

def validate(self, line, _commit):
Expand All @@ -103,7 +103,7 @@ class MaxLineLengthExceptions(LineRule):
name = "max-line-length-with-exceptions"
id = "UC4"
target = CommitMessageBody
options_spec = [IntOption('line-length', 120, "Max line length")]
options_spec = [IntOption('line-length', 75, "Max line length")]
violation_message = "Commit message body line exceeds max length ({0}>{1})"

def validate(self, line, _commit):
Expand Down

0 comments on commit 7ff1076

Please sign in to comment.