Skip to content

Commit b4cf2f4

Browse files
committed
deploy: only try to open/close a ticket if lychee actually ran
If the link check was not run for any particular reason, we do not have enough information to open, update or close a "broken link(s)" ticket. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c18ffbc commit b4cf2f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

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

146146
- name: ${{ env.lychee_exit_code != '0' && 'maybe close' || 'open or update' }} link checker issue
147+
if: env.lychee_exit_code != ''
147148
uses: actions/github-script@v7
148149
with:
149150
github-token: ${{ inputs.github-token }}

0 commit comments

Comments
 (0)