From 7dc329f7b87ba31fcdd4ea79f9f86c789756d7b9 Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Tue, 30 Apr 2024 08:42:05 -0600 Subject: [PATCH] chore: fix permissions on release workflow --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 367d66e..a5e6ecf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,14 +15,16 @@ jobs: container: # See https://github.com/3box/rust-builder image: public.ecr.aws/r5b3e0r5/3box/rust-builder:latest + options: --user root env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - run: | + chown root:root -R . git config user.email "github@3box.io" git config user.name "Github Automation" - name: Perform release