Skip to content

Commit 8679eab

Browse files
patch: Update create-issue-from-file action to v5
Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
1 parent acf384c commit 8679eab

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/link-checker.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
schedule:
88
- cron: "00 00 * * 1"
99

10+
permissions:
11+
contents: read
12+
issues: write
13+
actions: read
14+
pull-requests: read
15+
1016
jobs:
1117
Checking-Links:
1218
runs-on: ubuntu-latest
@@ -37,8 +43,11 @@ jobs:
3743

3844
- name: Create Issue From File
3945
if: env.lychee_exit_code != 0
40-
uses: peter-evans/create-issue-from-file@v4
46+
uses: peter-evans/create-issue-from-file@v5
4147
with:
4248
title: Link Checker Report
49+
token: ${{ secrets.GITHUB_TOKEN }}
4350
content-filepath: ./lychee/out.md
44-
labels: automated issue
51+
labels: |
52+
report
53+
automated issue

0 commit comments

Comments
 (0)