Skip to content

Conversation

@krish2718
Copy link
Contributor

When merging a single commit we should be using "--commit" option of gitlint as per [1] from 0.9.0 "--commits" doesn't work for single commit causing gitlint to lint all commits in the repo.

FYI, [2] fixes this issue, but it is not merged yet.

[1] - https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md#v090-2017-12-03 [2] - jorisroovers/gitlint#412

Signed-off-by: Krishna T [email protected]

@krish2718 krish2718 force-pushed the fix_gitlint_single_commit branch from f56b3b8 to 714f330 Compare January 16, 2023 12:36
@carlescufi carlescufi changed the title fixup! [nrf noup] ci: NCS-specific CI tweaks fixup: [nrf noup] ci: NCS-specific CI tweaks Jan 16, 2023
Copy link
Contributor

@carlescufi carlescufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing an alternative approach

fixup! [nrf noup] ci: NCS-specific CI tweaks

When merging a single commit we should be using "--commit" option of
gitlint as per [1] from 0.9.0 "--commits" doesn't work for single commit
causing gitlint to lint all commits in the repo.

FYI, [2] fixes this issue, but it is not merged yet.

[1] - https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md#v090-2017-12-03
[2] - jorisroovers/gitlint#412

Signed-off-by: Krishna T <[email protected]>
@krish2718 krish2718 force-pushed the fix_gitlint_single_commit branch from 714f330 to 43e26c9 Compare January 16, 2023 13:48
@carlescufi carlescufi merged commit aa5def0 into nrfconnect:main Jan 16, 2023
@krish2718 krish2718 deleted the fix_gitlint_single_commit branch January 16, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants