Skip to content
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

chore(ci): change token permissions #5862

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #5860

Summary

Changes

This PR implements token scope reduction for our critical pipelines to enhance security and improve our Scorecard rating. I'm also updating some actions that are not updated.

Changes:

  • Identified overly permissive tokens in pipelines
  • Reduced token scopes to minimum required permissions
  • Updated pipeline configurations to use new restricted tokens
  • Verified pipeline functionality with reduced scopes

User experience

No changes in customer experience.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner January 13, 2025 17:02
@boring-cyborg boring-cyborg bot added the github-actions Pull requests that update Github_actions code label Jan 13, 2025
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 13, 2025
@github-actions github-actions bot added the internal Maintenance changes label Jan 13, 2025
anafalcao
anafalcao previously approved these changes Jan 13, 2025
@pull-request-size pull-request-size bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 13, 2025
@leandrodamascena leandrodamascena merged commit 27737cf into develop Jan 13, 2025
10 checks passed
@leandrodamascena leandrodamascena deleted the improve-security-v2 branch January 13, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github-actions Pull requests that update Github_actions code internal Maintenance changes size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants