Skip to content

Commit c3e5fc6

Browse files
authored
Merge pull request #48 from tehw0lf/refactor/remove-gh-pat
refactor: remove GH_PAT, revert to GITHUB_TOKEN for tag push
2 parents d7919ec + 9021b88 commit c3e5fc6

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/build-test-publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ on:
1111
required: false
1212
NX_CLOUD_ACCESS_TOKEN:
1313
required: false
14-
GH_PAT:
15-
required: false
1614
inputs:
1715
root_dir:
1816
description: "path to project root"
@@ -312,8 +310,6 @@ jobs:
312310
runner: ${{ inputs.runner }}
313311
artifact_path: ${{ inputs.artifact_path }}
314312
tool: ${{ inputs.tool }}
315-
secrets:
316-
GH_PAT: ${{ secrets.GH_PAT }}
317313

318314
publish_firefox_extension:
319315
if: ${{ github.event_name == 'push' && inputs.addon_guid != '' && inputs.xpi_path != '' }}

.github/workflows/publish-python-libraries.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: publish python libraries
22

33
on:
44
workflow_call:
5-
secrets:
6-
GH_PAT:
7-
required: true
85
inputs:
96
runner:
107
description: "workflow-runner"
@@ -86,4 +83,4 @@ jobs:
8683
echo "::notice::[PyPI] Created and pushed tag ${{ steps.extract_version.outputs.release_tag }}"
8784
fi
8885
env:
89-
GH_TOKEN: ${{ secrets.GH_PAT }}
86+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)