add issues: write

nvalid workflow file: .github/workflows/cd.yml#L32
The workflow is not valid. .github/workflows/cd.yml (Line: 32, Col: 3): Error calling workflow 'pkgxdev/pantry/.github/workflows/new-version.yml@1eeb96302da6f8a7f0f524473a90dc3006b6a38e'. The nested job 'complain' is requesting 'issues: write', but is only allowed 'issues: none'.
This commit is contained in:
Jacob Heider 2023-12-13 10:30:07 -05:00
parent 1eeb96302d
commit 44b1c0cfa9
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -1,5 +1,5 @@
name: cd
run-name: 'cd: ${{ github.event.head_commit.message }}'
run-name: "cd: ${{ github.event.head_commit.message }}"
on:
push:
@ -33,6 +33,8 @@ jobs:
strategy:
fail-fast: false
needs: get-projects
permissions:
issues: write
uses: ./.github/workflows/new-version.yml
with:
projects: ${{ needs.get-projects.outputs.diff }}