Skip to content

Commit de379f9

Browse files
committed
🚀 Streamline GitHub token usage in build workflow
1 parent 97253ed commit de379f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: Determine package version
131131
if: ${{ !inputs.PACKAGE_VERSION }}
132132
env:
133-
GITHUB_TOKEN: ${{ secrets.GITHUB_USER_SSH_KEY && secrets.GITHUB_TOKEN || github.token }}
133+
GITHUB_TOKEN: ${{ secrets.GITHUB_USER_SSH_KEY }}
134134
run: |
135135
# Fetch latest public release
136136
LATEST_RELEASE=$(git for-each-ref --sort=-creatordate --count=1 --format='%(refname:short)' refs/tags || echo "")

0 commit comments

Comments
 (0)