mirror of
https://github.com/jimeh/release-please-manifest-action.git
synced 2026-02-19 09:06:42 +00:00
fix(release): attempt to fix release job permissions
It seems the "pull-request: write" permission on the job did not work. So we are now setting permissions at the workflow level
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -2,13 +2,14 @@
|
||||
name: CI
|
||||
on: push
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: jimeh/release-please-manifest-action@main
|
||||
id: release
|
||||
|
||||
Reference in New Issue
Block a user