Skip to content

Commit caf6ff7

Browse files
authored
更新 check-links.yml
1 parent 9bc8cd1 commit caf6ff7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/check-links.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,3 @@ jobs:
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636

37-
- name: Create Issue on Failure
38-
if: failure()
39-
uses: actions/github-script@v7
40-
with:
41-
script: |
42-
github.rest.issues.create({
43-
owner: context.repo.owner,
44-
repo: context.repo.repo,
45-
title: '🔗 Broken links detected in documentation',
46-
body: `Link checker found broken links in the documentation.\n\nPlease review the [workflow run](${context.payload.repository.html_url}/actions/runs/${context.runId}) for details.`,
47-
labels: ['documentation', 'bug']
48-
});

0 commit comments

Comments
 (0)