Skip to content

Commit 08c24b2

Browse files
committed
deploy: fix inverted logic
If lychee's exit code is 0, we want to close any open "broken link(s)" ticket, not when its exit code is non-zero. Not that it matters much because GitHub Actions seems not to show the labels of composite Actions in the logs, at least not at time of writing. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b4cf2f4 commit 08c24b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/deploy-to-github-pages/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ runs:
143143
fail: false
144144
failIfEmpty: false # needed because its default overrides `fail = false`
145145

146-
- name: ${{ env.lychee_exit_code != '0' && 'maybe close' || 'open or update' }} link checker issue
146+
- name: ${{ env.lychee_exit_code != '0' && 'open or update' || 'maybe close' }} link checker issue
147147
if: env.lychee_exit_code != ''
148148
uses: actions/github-script@v7
149149
with:

0 commit comments

Comments
 (0)