Skip to content

enable crates-io rulesets#2311

Merged
marcoieni merged 1 commit into
mainfrom
enable-crates-io-rulesets
Mar 12, 2026
Merged

enable crates-io rulesets#2311
marcoieni merged 1 commit into
mainfrom
enable-crates-io-rulesets

Conversation

@marcoieni
Copy link
Copy Markdown
Member

@marcoieni marcoieni commented Mar 11, 2026

The ruleset was configured manually from the UI. This PR configures it in this repo.

Close #2198

@github-actions
Copy link
Copy Markdown

Dry-run check results

[WARN  sync_team] sync-team is running in dry mode, no changes will be applied.
[INFO  sync_team] synchronizing crates-io
[INFO  sync_team] synchronizing github
[INFO  sync_team] 💻 Repo Diffs:
    📝 Editing repo 'rust-lang/crates.io':
      Rulesets:
          Updating 'main'
            Include Branches: ["~DEFAULT_BRANCH"] => ["refs/heads/main"]
            Bypass Actors: None => Some([RulesetBypassActor { actor_id: 2201425, actor_type: Integration, bypass_mode: Always }])

@marcoieni
Copy link
Copy Markdown
Member Author

The dry run looks good!

Include Branches: ["~DEFAULT_BRANCH"] => ["refs/heads/main"]

From the default branch we use the main branch, which is fine

Bypass Actors: None => Some([RulesetBypassActor { actor_id: 2201425, actor_type: Integration, bypass_mode: Always }])

This is detected because the github app read token doesn't have permission to read what's the current bypass actor.

@marcoieni marcoieni added this pull request to the merge queue Mar 12, 2026
Merged via the queue into main with commit efc9c35 Mar 12, 2026
3 checks passed
@marcoieni
Copy link
Copy Markdown
Member Author

I verified that after applying this the ruleset is unchanged 👍

@marcoieni marcoieni deleted the enable-crates-io-rulesets branch April 22, 2026 16:14
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.

Configure the crates-io ruleset

3 participants