Skip to content

Commit

Permalink
build: set content write permission for publish-openapi-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Jul 25, 2024
1 parent 68575ad commit 88fc5c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ jobs:
publish-openapi-to-gh-pages:
name: "Publish OpenAPI UI spec GitHub Pages"
permissions:
contents: read
contents: write
needs: [ release-version ]
uses: ./.github/workflows/publish-openapi-ui.yml
secrets: inherit
with:
version: ${{ needs.release-version.outputs.RELEASE_VERSION }}
version: ${{ needs.release-version.outputs.RELEASE_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-new-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
publish-openapi-to-gh-pages:
name: "Publish OpenAPI UI spec GitHub Pages"
permissions:
contents: read
contents: write
needs: [ secret-presence, determine-version ]
uses: ./.github/workflows/publish-openapi-ui.yml
secrets: inherit
Expand Down

0 comments on commit 88fc5c3

Please sign in to comment.