Skip to content

Commit

Permalink
chore: give publish-to-github required permissions (#1285)
Browse files Browse the repository at this point in the history
<!-- ELLIPSIS_HIDDEN -->



> [!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.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for b409e07. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
sxlijin authored Jan 1, 2025
1 parent bbacce2 commit f4345f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4345f8

Please sign in to comment.