Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit c5129f1

Browse files
committed
fix(ci): permissions
1 parent a85a653 commit c5129f1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
run: git config --global --add safe.directory $GITHUB_WORKSPACE
2020
- name: Set git identity
2121
run: |-
22-
git config --global --add user.name "github-actions"
23-
git config --global --add user.email "[email protected]"
22+
git config user.name "github-actions"
23+
git config user.email "[email protected]"
24+
- name: give user docker permission so we can run tests
25+
run: sudo chown $(whoami) /var/run/docker.sock
2426
- name: Set up QEMU
2527
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.0.0
2628
with:
@@ -35,8 +37,6 @@ jobs:
3537
platforms: linux/amd64,linux/arm64
3638
- name: Install dependencies
3739
run: yarn install --check-files --frozen-lockfile
38-
- name: give user docker permission so we can run tests
39-
run: sudo chown $(whoami) /var/run/docker.sock
4040
- name: release
4141
run: npx projen release
4242
- name: Check for new commits
@@ -51,7 +51,6 @@ jobs:
5151
path: dist
5252
container:
5353
image: jsii/superchain:1-buster-slim-node16
54-
options: --user root
5554
release_github:
5655
name: Publish to GitHub Releases
5756
needs: release

0 commit comments

Comments
 (0)