Skip to content

Commit c945ab9

Browse files
authored
Update call-track-review-project.yaml
Fix track-review-project caller workflow permission
1 parent 0f9ffe6 commit c945ab9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/call-track-review-project.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
track_review_project:
2121
# Granular permissions are safely locked directly to this specific execution context
2222
permissions:
23-
actions: read # Required to view the status of the upstream triggered workflow run
24-
repository-projects: write # Required to add or mutate tasks inside GitHub Project 376
25-
uses: MetOffice/growss/.github/workflows/track-review-project.yaml@main
23+
actions: read # Required to check out code or parse files safely
24+
contents: read # Required to read the upstream triggered workflow run artifact status
25+
pull-requests: write # Required to add comments or update metadata on the PR
26+
uses: MetOffice/growss/.github/workflows/track-review-project.yaml@0f9ffe6a138ae9943053621916a850a075997db8 # v1.0.0
2627
secrets:
2728
PROJECT_ACTION_PAT: ${{ secrets.PROJECT_ACTION_PAT }}
2829
# Optional inputs (with default values)

0 commit comments

Comments
 (0)