Skip to content

Skip commit-lint on backport pull requests#63378

Open
marcopiraccini wants to merge 1 commit into
nodejs:mainfrom
marcopiraccini:fix/commit-lint-skip-backports
Open

Skip commit-lint on backport pull requests#63378
marcopiraccini wants to merge 1 commit into
nodejs:mainfrom
marcopiraccini:fix/commit-lint-skip-backports

Conversation

@marcopiraccini
Copy link
Copy Markdown
Contributor

The commit-lint workflow runs on PRs to main and v[0-9]+.x-staging.
For PRs to staging (typically backports), core-validate-commit unconditionally fails the signed-off-by check, even though https://github.com/nodejs/node/blob/main/doc/contributing/pull-requests.md#step-4-commit exempts backport commits from it.

Fix: Limit the trigger to PRs targeting main.
I assumed the contributing doc is the source of truth. The alternative would be removing the exemption from the doc instead — happy to switch if preferred.

Fixes: #63192

Signed-off-by: marcopiraccini <marco.piraccini@gmail.com>
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions

@marcopiraccini marcopiraccini marked this pull request as ready for review May 17, 2026 04:43
@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label May 17, 2026
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Issues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

meta: backport PR linting requires Signed-off-by

3 participants