move permissions block to publish job
This commit is contained in:
@@ -6,14 +6,12 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
actions: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-openapi:
|
publish-openapi:
|
||||||
name: OpenAPI - Publish Artifact
|
name: OpenAPI - Publish Artifact
|
||||||
uses: ./.github/workflows/openapi-generate.yml
|
uses: ./.github/workflows/openapi-generate.yml
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
|
|||||||
Reference in New Issue
Block a user