32 lines
713 B
YAML
32 lines
713 B
YAML
include-source: false # Drop file/line/col from output
|
|
skip:
|
|
- Go
|
|
permissions-policy: LimitedRead
|
|
---
|
|
on: push
|
|
jobs:
|
|
deploy:
|
|
permissions:
|
|
issues: read
|
|
uses: a/b/.github/workflows/c.yml@v1
|
|
---
|
|
a/b/.github/workflows/c.yml@v1
|
|
---
|
|
on: workflow_call
|
|
jobs:
|
|
deploy:
|
|
name: Deploy 1
|
|
permissions:
|
|
issues: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo hi
|
|
---
|
|
{
|
|
"errors": [
|
|
{
|
|
"Message": ".github/workflows/errors-reusable-workflow-permissions-not-allowed-request-issues-write.yml (Line: 3, Col: 3): Error calling workflow 'a/b/.github/workflows/c.yml@v1'. The nested job 'Deploy 1' is requesting 'issues: write', but is only allowed 'issues: read'."
|
|
}
|
|
]
|
|
}
|