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:
608608 run : .github/workflows/scripts/triggerUnmanagedCommunityBuild.sh "${{ secrets.BUILD_TOKEN }}" "$THISBUILD_VERSION"
609609
610610 publish_release :
611+ permissions :
612+ contents : write # for actions/create-release to create a release
611613 runs-on : [self-hosted, Linux]
612614 container :
613615 image : lampepfl/dotty:2021-03-22
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' language-reference-backport'
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
711jobs :
812 check :
913 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 99 - ' language-reference-stable'
1010 workflow_dispatch :
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 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
1420 runs-on : ubuntu-latest
1521 steps :
1622 - name : Get current date
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Releases
22on :
33 workflow_dispatch :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 publish_release :
710 runs-on : [self-hosted, Linux]
Original file line number Diff line number Diff line change 77 pull_request :
88 branches-ignore :
99 - ' language-reference-stable'
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 build :
1215 env :
You can’t perform that action at this time.
0 commit comments