Skip to content

Commit 5df0a33

Browse files
authored
Merge pull request #112 from rina-forks/base-url-update
Remove outdated text in "Check Links in Repository" recipe
2 parents 1cb17a0 + 8dc6f69 commit 5df0a33

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/content/docs/github_action_recipes/check-repository.mdx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ title: Check Links in Repository
44

55
import CodeBlock from "../../../components/code.astro";
66

7-
This recipe demonstrates how to set up an automated workflow that will check all repository links once per day and create an issue in case of errors.
8-
9-
The workflow is triggered in three scenarios:
10-
Manual trigger via workflow_dispatch
11-
Repository dispatch events
12-
Automated schedule (runs daily at 18:00 UTC)
13-
The workflow executes the following steps:
14-
Checks out the repository using actions/checkout@v5
15-
Runs the Lychee link checker (lycheeverse/lychee-action@v2) with fail: false to prevent workflow failure
16-
If any broken links are detected (exit code != 0), creates a new GitHub issue using peter-evans/create-issue-from-file@v6
17-
The issue contains the detailed report from ./lychee/out.md
18-
Issues are labeled with “report” and “automated issue”
19-
The workflow requires write permissions for issues to create automated reports when broken links are found.
7+
This recipe demonstrates how to set up an automated workflow that will check all repository links once per day.
208

219
<CodeBlock file=".github/workflows/check-links.yml" />

0 commit comments

Comments
 (0)