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:
2023-05-08 01:04:23 +01:00
parent b60e27befe
commit c2d85862fd

View File

@@ -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