Skip to content

Commit 70d666e

Browse files
authored
CI: Use gh to create issues in Check Links workflow (#3166)
1 parent b3e0048 commit 70d666e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/check-links.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868

6969
- name: Create Issue From File
7070
if: env.lychee_exit_code != 0
71-
uses: peter-evans/create-issue-from-file@v5
72-
with:
73-
title: Link Checker Report on ${{ steps.date.outputs.date }}
74-
content-filepath: ./lychee/out.md
71+
run: |
72+
title="Link Checker Report on ${{ steps.date.outputs.date }}"
73+
gh issue create --title "$title" --body-file ./lychee/out.md
74+
env:
75+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)