Skip to content

actions: Add some missing permissions #19357

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yoff
Copy link
Contributor

@yoff yoff commented Apr 23, 2025

Also adjust the comments for actions that do not need permissions

MIssing permission discovered by comparing with https://github.com/github/codeql/pull/18517/files#diff-aa70ee2d09e3b6c4a50a963ad4791be3a20e376bfd2693085edede530d72608f.

Also adjust the comments for actions that do not need permissions
@yoff yoff added the no-change-note-required This PR does not need a change note label Apr 23, 2025
@Copilot Copilot AI review requested due to automatic review settings April 23, 2025 12:02
@yoff yoff requested a review from a team as a code owner April 23, 2025 12:02
@github-actions github-actions bot added the Actions Analysis of GitHub Actions label Apr 23, 2025
Copy link
Contributor

@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 adds explicit permission entries for the actions/add-to-project action and adjusts comments for download, upload, and cache actions to indicate that no permissions are needed.

  • Added four permission entries for actions/add-to-project
  • Updated TODO comments to explicit "No permissions needed" comments for actions/download-artifact, actions/upload-artifact, and actions/cache

adityasharad
adityasharad previously approved these changes Apr 23, 2025
@adityasharad
Copy link
Collaborator

Oh tests need updating.

adityasharad
adityasharad previously approved these changes Apr 23, 2025
@adityasharad
Copy link
Collaborator

Change note under minor analysis improvements?

@yoff
Copy link
Contributor Author

yoff commented Apr 24, 2025

Change note under minor analysis improvements?

Ah right, we just shipped so we need a new change note.

@yoff yoff requested a review from adityasharad April 24, 2025 07:55
@yoff yoff removed the no-change-note-required This PR does not need a change note label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Analysis of GitHub Actions documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants