Skip to content

Commit 9992e48

Browse files
committed
Move permissions in build workflow to top-level
To align with the CI best practices: https://llvm.org/docs/CIBestPractices.html#top-level-read-permissions
1 parent 7d7e489 commit 9992e48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
push:
55
branches: ['main']
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
build:
912
runs-on: ubuntu-latest
1013

1114
permissions:
12-
contents: read
1315
packages: write
1416

1517
steps:

0 commit comments

Comments
 (0)