From f4345f834edeba7085a5c5a6a870940b3a52a56a Mon Sep 17 00:00:00 2001 From: Samuel Lijin Date: Tue, 31 Dec 2024 16:46:44 -0800 Subject: [PATCH] chore: give publish-to-github required permissions (#1285) > [!IMPORTANT] > Add `contents: write` permission to `publish-to-github` job in `release.yml`. > > - **Permissions**: > - Add `contents: write` permission to `publish-to-github` job in `release.yml` to allow modifying repository contents. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for b409e07abed9488f6c5bf9fcc4a065b5b4a59c8f. It will automatically update as commits are pushed. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6f9c76fa..c87824aa0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,6 +167,8 @@ jobs: publish-to-github: environment: release + permissions: + contents: write needs: [all-builds] if: ${{ startsWith(github.ref, 'refs/tags/') }} runs-on: ubuntu-latest