File tree Expand file tree Collapse file tree 6 files changed +33
-0
lines changed
Expand file tree Collapse file tree 6 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ concurrency:
1212 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1313 cancel-in-progress : true
1414
15+ permissions :
16+ contents : read
17+
1518jobs :
1619 build :
1720 name : Build
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Generate Post-Release PR
22on :
33 workflow_dispatch :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 prereqs :
710 runs-on : ubuntu-latest
1518 fi
1619
1720 create-pull-request-against-main :
21+ permissions :
22+ contents : write # for git push to PR branch
1823 runs-on : ubuntu-latest
1924 needs :
2025 - prereqs
Original file line number Diff line number Diff line change @@ -2,8 +2,13 @@ name: Prepare patch release
22on :
33 workflow_dispatch :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 prepare-patch-release :
10+ permissions :
11+ contents : write # for git push to PR branch
712 runs-on : ubuntu-latest
813 steps :
914 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Prepare release branch
22on :
33 workflow_dispatch :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 prereqs :
710 runs-on : ubuntu-latest
2124 fi
2225
2326 create-pull-request-against-release-branch :
27+ permissions :
28+ contents : write # for git push to PR branch
2429 runs-on : ubuntu-latest
2530 needs :
2631 - prereqs
7075 --base $RELEASE_BRANCH_NAME
7176
7277 create-pull-request-against-main :
78+ permissions :
79+ contents : write # for git push to PR branch
7380 runs-on : ubuntu-latest
7481 needs :
7582 - prereqs
Original file line number Diff line number Diff line change @@ -2,8 +2,13 @@ name: Release
22on :
33 workflow_dispatch :
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 release :
10+ permissions :
11+ contents : write # for creating the release
712 runs-on : ubuntu-24.04
813 outputs :
914 version : ${{ steps.create-github-release.outputs.version }}
@@ -126,6 +131,8 @@ jobs:
126131 echo "version=$VERSION" >> $GITHUB_OUTPUT
127132
128133 merge-change-log-to-main :
134+ permissions :
135+ contents : write # for git push to PR branch
129136 runs-on : ubuntu-latest
130137 needs :
131138 - release
Original file line number Diff line number Diff line change @@ -3,8 +3,14 @@ name: Reusable - Open issue on workflow failure
33on :
44 workflow_call :
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 open-issue :
11+ permissions :
12+ contents : read
13+ issues : write # for creating the issue
814 runs-on : ubuntu-latest
915 steps :
1016 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
You can’t perform that action at this time.
0 commit comments