Skip to content

Commit d4d3f07

Browse files
fix(ci): add contents:write permission to release jobs (#136)
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 16bab48 commit d4d3f07

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build_server.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
build-server:
2424
name: Build and release server
2525
runs-on: ubuntu-latest
26+
permissions:
27+
contents: write
2628
if: github.event.inputs.name || github.event.inputs.new_tag
2729
env:
2830
ARTIFACTS: server/dist/reearth_*.*

.github/workflows/build_web.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
name: Release nightly/rc
6666
runs-on: ubuntu-latest
6767
needs: [build-web]
68+
permissions:
69+
contents: write
6870
if: ${{ github.event.inputs.name != 'blank' }}
6971
env:
7072
ARTIFACT: reearth-web_${{ github.event.inputs.name }}.tar.gz
@@ -238,6 +240,8 @@ jobs:
238240
release:
239241
name: Release
240242
runs-on: ubuntu-latest
243+
permissions:
244+
contents: write
241245
if: ${{ github.event.inputs.new_tag != 'blank' }}
242246
env:
243247
ARTIFACT: reearth-web_${{ github.event.inputs.new_tag }}.tar.gz

0 commit comments

Comments
 (0)