diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index d904383..81a4461 100755 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -11,6 +11,8 @@ on: required: false NX_CLOUD_ACCESS_TOKEN: required: false + GH_PAT: + required: false inputs: root_dir: description: "path to project root" @@ -310,6 +312,8 @@ jobs: runner: ${{ inputs.runner }} artifact_path: ${{ inputs.artifact_path }} tool: ${{ inputs.tool }} + secrets: + GH_PAT: ${{ secrets.GH_PAT }} publish_firefox_extension: if: ${{ github.event_name == 'push' && inputs.addon_guid != '' && inputs.xpi_path != '' }} diff --git a/.github/workflows/publish-python-libraries.yml b/.github/workflows/publish-python-libraries.yml index a5c81d4..8adfc61 100644 --- a/.github/workflows/publish-python-libraries.yml +++ b/.github/workflows/publish-python-libraries.yml @@ -2,6 +2,9 @@ name: publish python libraries on: workflow_call: + secrets: + GH_PAT: + required: true inputs: runner: description: "workflow-runner" @@ -83,4 +86,4 @@ jobs: echo "::notice::[PyPI] Created and pushed tag ${{ steps.extract_version.outputs.release_tag }}" fi env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_PAT }}