mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 05:12:51 +01:00
move permissions block to publish job
This commit is contained in:
6
.github/workflows/openapi-merge.yml
vendored
6
.github/workflows/openapi-merge.yml
vendored
@@ -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