Skip to content

Commit 5a693f7

Browse files
authored
chore(repo): gha listen to comment-edit events to run broken-link-checker (#10806)
1 parent 1902ba9 commit 5a693f7

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
name: "Broken Link Checker"
2+
23
on:
3-
pull_request:
4-
branches:
5-
- main
6-
paths:
7-
- "docs/**"
4+
issue_comment:
5+
types: [edited]
86

97
permissions:
108
pull-requests: write
@@ -17,19 +15,16 @@ jobs:
1715
- uses: actions/checkout@v4
1816
- uses: actions/setup-node@v4
1917
- run: corepack enable
20-
- name: Get Vercel Preview URL
21-
id: vercelDeployment
22-
uses: mishkeTz/get-vercel-preview-url-by-project-id@main
18+
- uses: aaimio/[email protected]
19+
id: vercel_preview_url
2320
with:
24-
vercel_access_token: ${{ secrets.VERCEL_TOKEN }}
25-
vercel_team_id: ${{ secrets.VERCEL_TEAM_ID }}
26-
vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID }}
27-
gh_token: ${{ secrets.GITHUB_TOKEN }}
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
preview_url_regexp: "authjs.vercel.app"
2823
- name: Install dependencies
2924
run: cd ./.github/broken-link-checker && pnpm install --ignore-workspace && pnpm build
3025
- name: Run link checker
3126
uses: ./.github/broken-link-checker
3227
id: broken-links
3328
env:
3429
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
VERCEL_PREVIEW_URL: ${{ steps.vercelDeployment.outputs.preview_url }}
30+
VERCEL_PREVIEW_URL: ${{ steps.vercel_preview_url.outputs.vercel_preview_url }}

docs/pages/contributors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Steps } from "nextra/components"
22

33
# Contributors
44

5-
Maintaining Auth.js as an open source project is very hard work. All the core team members have regular jobs and the library is maintained and developed out of good will in our free time. Donations can enable the core team to eventually work full time on Auth.js to provide more features and an even better developer experience.
5+
Maintaining Auth.js as an open source project is very hard work. All the core team members have regular jobs and the library is maintained and developed out of good will in our free time. Donations can enable the core team to eventually work full time on Auth.js to provide more features and an even better developer experience!
66

77
<div className="flex my-4 gap-2">
88
<img src="/img/etc/opencollective-logomark.svg" width="64" />

0 commit comments

Comments
 (0)