Skip to content

Add option to disable checking issue links in commits #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025

Conversation

Urgau
Copy link
Member

@Urgau Urgau commented May 4, 2025

This PR adds an option (allowed-in-commits) to disable checking issue links in commits, this was requested in #1965 by @tgross35.

More context in #1965 (comment), but summary: repository that aren't subtrees in r-l/r don't necessarily need to prevent issue links in commits.

[issue-links]
check-commits = false # defaults to true

Fixes #1965

@Urgau Urgau requested a review from Kobzol May 4, 2025 09:38
Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

I would find it more intuitive if the option disabled commit checking, rather than allowed issues in commits (e.g. check-commits = false), but it's not super important. Feel free to merge as is.

@Urgau Urgau force-pushed the issue_links-allowed-in-commits branch from 42723d6 to a0946d7 Compare May 5, 2025 16:35
@Urgau
Copy link
Member Author

Urgau commented May 5, 2025

Switched to check-commits.

@Urgau Urgau added this pull request to the merge queue May 5, 2025
Merged via the queue into rust-lang:master with commit 05aa65d May 5, 2025
3 checks passed
@Urgau Urgau deleted the issue_links-allowed-in-commits branch May 5, 2025 16:47
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
tgross35 added a commit to tgross35/rust-libc that referenced this pull request May 12, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966
@ehuss
Copy link
Contributor

ehuss commented May 20, 2025

It looks like this added a new config option. Can you make sure this gets added to the documentation?

tgross35 added a commit to tgross35/rust-libc that referenced this pull request Jun 1, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966

(backport <rust-lang#4444>)
(cherry picked from commit 6a8609c)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Jun 1, 2025
Disable warnings when crosslinking issues, since we do want contributors
to do this.

Cc: rust-lang/triagebot#1966

(backport <rust-lang#4444>)
(cherry picked from commit 6a8609c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split issue-links into "canonicalization" and "links in commit"
3 participants