Skip to content

Commit 8305d07

Browse files
Add permissions to GitHub Actions workflow
Specified 'contents: read' and 'pull-requests: write' permissions in the workflow to improve security and enable required actions.
1 parent e83c6ca commit 8305d07

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/github-actions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: github-actions
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
5+
pull-requests: write
36
jobs:
47
windows-2022-staticLink-cs:
58
runs-on: windows-2022

0 commit comments

Comments
 (0)