Skip to content

Commit 83b5e1b

Browse files
committed
Run workflow on forks and main repo
1 parent 4deeaef commit 83b5e1b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/check-broken-pr-links.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: Check Links in Pull Requests
22

33
on:
4-
pull_request:
4+
pull_request_target: # changed from pull_request
55
branches:
66
- main
77
paths:
88
- '**/*.md'
99

10+
permissions:
11+
contents: read # allows reading the repo
12+
pull-requests: write # allows posting PR comments
13+
14+
1015
jobs:
1116
check-links:
1217
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)