Skip to content

Added org github tokens to check untracked private repositories - #2666

Open
cuba0001 wants to merge 1 commit into
rust-lang:mainfrom
cuba0001:private-repos
Open

Added org github tokens to check untracked private repositories#2666
cuba0001 wants to merge 1 commit into
rust-lang:mainfrom
cuba0001:private-repos

Conversation

@cuba0001

@cuba0001 cuba0001 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Related #2654

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Dry-run check results

[WARN  rust_team::sync] sync-team is running in dry mode, no changes will be applied.
[INFO  rust_team::sync] synchronizing crates-io
[INFO  rust_team::sync] synchronizing github

@marcoieni marcoieni self-assigned this Aug 11, 2026
Comment thread src/ci.rs Outdated
"GITHUB_TOKEN_{}",
org.to_ascii_uppercase().replace('-', "_")
)
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We already parse and select GITHUB_TOKEN_{ORG} credentials in

fn org_name_from_env_var(env_var: &str) -> Option<String> {

Could we reuse that mechanism here?

@cuba0001 cuba0001 Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It was a bit tricky because of two github clients. I needed to expose tokens.rs to reuse it in api/github.

@rustbot

rustbot commented Aug 13, 2026

Copy link
Copy Markdown

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

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.

4 participants