Skip to content

Commit c6f3647

Browse files
ci(release): increase permission for job and bump actions (#3816)
1 parent 1df4c89 commit c6f3647

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/CI.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,16 @@ jobs:
4040
release_generate_release_notes: ${{ steps.setup_release.outputs.release_generate_release_notes }}
4141
release_tag: ${{ steps.setup_release.outputs.release_tag }}
4242
release_version: ${{ steps.setup_release.outputs.release_version }}
43+
permissions:
44+
contents: write # read does not work to check squash and merge details
4345
runs-on: ubuntu-latest
4446
steps:
4547
- name: Checkout
4648
uses: actions/checkout@v4
4749

4850
- name: Setup Release
4951
id: setup_release
50-
uses: LizardByte/setup-release-action@v2025.102.14715
52+
uses: LizardByte/setup-release-action@v2025.426.225
5153
with:
5254
github_token: ${{ secrets.GITHUB_TOKEN }}
5355

@@ -249,7 +251,7 @@ jobs:
249251

250252
- name: Create/Update GitHub Release
251253
if: needs.setup_release.outputs.publish_release == 'true'
252-
uses: LizardByte/create-release-action@v2025.102.13208
254+
uses: LizardByte/create-release-action@v2025.426.1549
253255
with:
254256
allowUpdates: true
255257
body: ${{ needs.setup_release.outputs.release_body }}
@@ -462,7 +464,7 @@ jobs:
462464

463465
- name: Create/Update GitHub Release
464466
if: needs.setup_release.outputs.publish_release == 'true'
465-
uses: LizardByte/create-release-action@v2025.102.13208
467+
uses: LizardByte/create-release-action@v2025.426.1549
466468
with:
467469
allowUpdates: true
468470
body: ${{ needs.setup_release.outputs.release_body }}
@@ -663,7 +665,7 @@ jobs:
663665
if: >-
664666
matrix.release &&
665667
needs.setup_release.outputs.publish_release == 'true'
666-
uses: LizardByte/create-release-action@v2025.102.13208
668+
uses: LizardByte/create-release-action@v2025.426.1549
667669
with:
668670
allowUpdates: true
669671
artifacts: '${{ github.workspace }}/homebrew/*'
@@ -978,7 +980,7 @@ jobs:
978980

979981
- name: Create/Update GitHub Release
980982
if: needs.setup_release.outputs.publish_release == 'true'
981-
uses: LizardByte/create-release-action@v2025.102.13208
983+
uses: LizardByte/create-release-action@v2025.426.1549
982984
with:
983985
allowUpdates: true
984986
body: ${{ needs.setup_release.outputs.release_body }}

.github/workflows/ci-docker.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,16 @@ jobs:
114114
release_generate_release_notes: ${{ steps.setup_release.outputs.release_generate_release_notes }}
115115
release_tag: ${{ steps.setup_release.outputs.release_tag }}
116116
release_version: ${{ steps.setup_release.outputs.release_version }}
117+
permissions:
118+
contents: write # read does not work to check squash and merge details
117119
runs-on: ubuntu-latest
118120
steps:
119121
- name: Checkout
120122
uses: actions/checkout@v4
121123

122124
- name: Setup Release
123125
id: setup_release
124-
uses: LizardByte/setup-release-action@v2025.102.14715
126+
uses: LizardByte/setup-release-action@v2025.426.225
125127
with:
126128
dotnet: ${{ needs.check_dockerfiles.outputs.dotnet }}
127129
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -354,7 +356,7 @@ jobs:
354356
if: >
355357
needs.setup_release.outputs.publish_release == 'true' &&
356358
steps.prepare.outputs.artifacts == 'true'
357-
uses: LizardByte/create-release-action@v2025.102.13208
359+
uses: LizardByte/create-release-action@v2025.426.1549
358360
with:
359361
allowUpdates: true
360362
artifacts: "*artifacts/*"

0 commit comments

Comments
 (0)