Skip to content

Commit a263978

Browse files
committed
fix: correct GitHub Actions condition syntax for secret check
- Fix invalid workflow syntax: secrets.SHARX_REPO_TOKEN != '' - Use correct syntax: secrets.SHARX_REPO_TOKEN (truthy check) - GitHub Actions doesn't support != '' comparison for secrets
1 parent 491e505 commit a263978

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/harbor-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
284284

285285
- name: Create GitHub Release in SharX repository
286-
if: ${{ secrets.SHARX_REPO_TOKEN != '' }}
286+
if: ${{ secrets.SHARX_REPO_TOKEN }}
287287
run: |
288288
TAG="${{ needs.prepare.outputs.tag }}"
289289
VERSION="${{ needs.prepare.outputs.version }}"

0 commit comments

Comments
 (0)