Skip to content

Commit af09dbf

Browse files
committed
imrpove permission comment
1 parent 2f42074 commit af09dbf

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/04-advanced-features--04-github-permissions.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@ on:
44

55
# Permissions can be defined at the workflow or job level
66
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
7+
8+
################
9+
# Default Permissions
10+
################
11+
# permissions:
12+
# contents: read
13+
# packages: read
14+
################
15+
716
################
8-
# Full Set
17+
# All Permission Types
918
################
1019
# permissions:
1120
# actions: read|write|none
@@ -24,14 +33,6 @@ on:
2433
# statuses: read|write|none
2534
################
2635

27-
################
28-
# Default (everything unspecified is "none")
29-
################
30-
# permissions:
31-
# contents: read
32-
# packages: read
33-
################
34-
3536
jobs:
3637
read-only-pr:
3738
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)