Skip to content

Conversation

leobalter
Copy link
Contributor

Improve OIDC docs recommending disallowing non-OIDC tokens.

References

@leobalter leobalter requested a review from Copilot August 29, 2025 20:44
@leobalter leobalter requested a review from a team as a code owner August 29, 2025 20:44
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the security documentation for trusted publishers by adding a new section that recommends restricting traditional token access when using OIDC-based trusted publishers.

  • Adds guidance for configuring maximum security by disallowing non-OIDC tokens
  • Provides step-by-step instructions for enabling the "disallow tokens" setting
  • Includes migration tips for users transitioning from token-based to trusted publishing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- **Allows** publishing through trusted publishers (OIDC)
- **Blocks** all personal access tokens and automation tokens
- **Reduces** the risk of unauthorized publishing
- **Maintains** your automated CI/CD workflows through GitHub Actions or GitLab.
Copy link
Preview

Copilot AI Aug 29, 2025

Choose a reason for hiding this comment

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

The sentence ends with 'GitLab.' but should end with 'GitLab CI/CD.' for consistency with the previous mention of 'GitLab CI/CD' and to be more descriptive.

Suggested change
- **Maintains** your automated CI/CD workflows through GitHub Actions or GitLab.
- **Maintains** your automated CI/CD workflows through GitHub Actions or GitLab CI/CD.

Copilot uses AI. Check for mistakes.

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.

1 participant