Skip to content

Commit 8fd1544

Browse files
committed
build: remove secret override
1 parent f2bf6c2 commit 8fd1544

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish-release-packages.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ on:
1313
required: true
1414
type: string
1515
description: "The github release which will be published"
16-
secrets:
17-
tapTokenOverride:
18-
required: false
19-
description: "An override for the github token to publish to daniel-homebrew/homebrew-tap"
2016

2117
jobs:
2218
publish-brew:
@@ -29,7 +25,8 @@ jobs:
2925
- name: Download release
3026
if: ${{ github.event_name == 'workflow_dispatch' }}
3127
run: gh release download ${{ inputs.release }} --pattern "*.whl" --dir dist
32-
28+
env:
29+
GH_TOKEN: ${{ github.token }}
3330
- name: Download artifact
3431
if: ${{ github.event_name == 'workflow_call' }}
3532
uses: actions/download-artifact@v3
@@ -40,4 +37,4 @@ jobs:
4037
- name: Update homebrew formula
4138
run: scripts/update-brew-formula.sh "dist/helloworld-*-py3-none-any.whl" "daniel-makerx/homebrew-tap"
4239
env:
43-
TAP_GITHUB_TOKEN: ${{ secrets.tapTokenOverride || secrets.TAP_GITHUB_TOKEN }}
40+
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)