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