Skip to content

Commit 71b4a08

Browse files
workflow: explicit permissions on pr.yml (#22)
* workflow: explicitly assign permissions for pr.yml Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Add pull-requests permission to PR workflow --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent ad0d0fd commit 71b4a08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ name: Build Go (PR)
1919
on:
2020
pull_request:
2121

22+
permissions:
23+
contents: read
24+
pull-requests: read
25+
2226
concurrency:
2327
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2428
cancel-in-progress: true

0 commit comments

Comments
 (0)