File tree Expand file tree Collapse file tree 5 files changed +18
-0
lines changed Expand file tree Collapse file tree 5 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -608,6 +608,8 @@ jobs:
608
608
run : .github/workflows/scripts/triggerUnmanagedCommunityBuild.sh "${{ secrets.BUILD_TOKEN }}" "$THISBUILD_VERSION"
609
609
610
610
publish_release :
611
+ permissions :
612
+ contents : write # for actions/create-release to create a release
611
613
runs-on : [self-hosted, Linux]
612
614
container :
613
615
image : lampepfl/dotty:2021-03-22
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- ' language-reference-backport'
7
+ permissions :
8
+ contents : write
9
+ pull-requests : write
10
+
7
11
jobs :
8
12
check :
9
13
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 9
9
- ' language-reference-stable'
10
10
workflow_dispatch :
11
11
12
+ permissions :
13
+ contents : read
14
+
12
15
jobs :
13
16
build-and-push :
17
+ permissions :
18
+ contents : write # for Git to git push
19
+ pull-requests : write # for peter-evans/create-pull-request to create a PR
14
20
runs-on : ubuntu-latest
15
21
steps :
16
22
- name : Get current date
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Releases
2
2
on :
3
3
workflow_dispatch :
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
publish_release :
7
10
runs-on : [self-hosted, Linux]
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches-ignore :
9
9
- ' language-reference-stable'
10
+ permissions :
11
+ contents : read
12
+
10
13
jobs :
11
14
build :
12
15
env :
You can’t perform that action at this time.
0 commit comments