Skip to content

Conversation

js6pak
Copy link
Contributor

@js6pak js6pak commented May 5, 2023

Grant access to packages of the organization an actions task is running on.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 5, 2023
@lunny lunny added the type/enhancement An improvement of existing functionality label May 6, 2023
@lunny lunny added this to the 1.20.0 milestone May 6, 2023
@wolfogre
Copy link
Member

wolfogre commented May 6, 2023

Wait, I think we've talked about this before: #23729 (comment)

Since packages belong to the organization level and actions tasks belong to the repo level, it's unsafe to grant access.

My opitions are:

  • Allow actions bot user read public packapes only by default.
  • Provide settings to allow it read/write to public/private packages in the feature.
  • Before that, it's recommended to use an access token as secret to visit private packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. topic/gitea-actions related to the actions of Gitea type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants