diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1b4bdbe..4edbbc5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -52,6 +52,6 @@ jobs: uses: lycheeverse/lychee-action@v2 with: fail: true - args: --remap '${{ github.event.repository.default_branch }} ${{ github.head_ref }}' --include-fragments . + args: --remap '${{ github.event.repository.default_branch }} ${{ github.head_ref || github.ref_name }}' --include-fragments . jobSummary: true format: markdown