File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ concurrency:
14
14
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
15
15
cancel-in-progress : true
16
16
17
+ permissions :
18
+ contents : read # to fetch code (actions/checkout)
19
+
17
20
jobs :
18
21
prepare-yarn-cache-ubuntu :
19
22
uses : ./.github/workflows/prepare-cache.yml
@@ -125,6 +128,9 @@ jobs:
125
128
'echo "::error file={}::This needs to be regenerated by running \`tools:regenerate-docs\`" && false'
126
129
127
130
release :
131
+ permissions :
132
+ contents : write # for semantic-release
133
+
128
134
if :
129
135
# prettier-ignore
130
136
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
Original file line number Diff line number Diff line change 5
5
- cron : ' 0 0 * * SUN'
6
6
workflow_dispatch :
7
7
8
+ permissions :
9
+ contents : read # to fetch code (actions/checkout)
10
+
8
11
jobs :
9
12
test :
13
+ permissions :
14
+ contents : read # to fetch code (actions/checkout)
15
+ issues : write # to create comment
16
+ pull-requests : read # for searching pull requests
17
+
10
18
runs-on : ubuntu-latest
11
19
steps :
12
20
- uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments