diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index e0f5ff931..d23ca27e7 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -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 }} \ No newline at end of file + version: ${{ needs.release-version.outputs.RELEASE_VERSION }} diff --git a/.github/workflows/publish-new-snapshot.yaml b/.github/workflows/publish-new-snapshot.yaml index 8476cf2f2..49e3d7861 100644 --- a/.github/workflows/publish-new-snapshot.yaml +++ b/.github/workflows/publish-new-snapshot.yaml @@ -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