Skip to content

Commit

Permalink
Merge pull request #678 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
fix: update permissions for feedstock tokens
  • Loading branch information
beckermr authored Sep 19, 2024
2 parents 0470d08 + d4cb298 commit 9a41155
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion conda_forge_webservices/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,13 @@ def generate_app_token_for_feedstock(app_id, raw_pem, repo, readonly=False):
"""
read_or_write = "read" if readonly else "write"
permissions = {
"metadata": "read",
"actions": read_or_write,
"checks": read_or_write,
"contents": read_or_write,
"issues": read_or_write,
"metadata": "read",
"pull_requests": read_or_write,
"statuses": read_or_write,
"workflows": read_or_write,
}

Expand Down

0 comments on commit 9a41155

Please sign in to comment.