Skip to content

Commit d061bc8

Browse files
committed
ci: fix link checker when not running in PR
1 parent 6617362 commit d061bc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ jobs:
5252
uses: lycheeverse/lychee-action@v2
5353
with:
5454
fail: true
55-
args: --remap '${{ github.event.repository.default_branch }} ${{ github.head_ref }}' --include-fragments .
55+
args: --remap '${{ github.event.repository.default_branch }} ${{ github.head_ref || github.ref_name }}' --include-fragments .
5656
jobSummary: true
5757
format: markdown

0 commit comments

Comments
 (0)