File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,15 +2,14 @@ name: Validate Markdown
22
33on :
44 # Trigger the workflow on pull request
5- pull_request_target :
5+ pull_request :
66 branches :
77 - main
88 paths :
99 - ' **.md'
1010 - ' **.ipynb'
11- paths-ignore :
12- - ' translations/**'
13- - ' translated_images/**'
11+ - ' !translations/**'
12+ - ' !translated_images/**'
1413
1514permissions :
1615 contents : read
2322 steps :
2423 - name : Checkout Repo
2524 uses : actions/checkout@v6
26- with :
27- ref : ${{ github.event.pull_request.head.sha }}
2825 - name : Check broken Paths
2926 id : check-broken-paths
3027 uses : john0isaac/action-check-markdown@v1.1.0
4138 steps :
4239 - name : Checkout Repo
4340 uses : actions/checkout@v6
44- with :
45- ref : ${{ github.event.pull_request.head.sha }}
4641 - name : Run Check paths tracking
4742 id : check-paths-tracking
4843 uses : john0isaac/action-check-markdown@v1.1.0
5954 steps :
6055 - name : Checkout Repo
6156 uses : actions/checkout@v6
62- with :
63- ref : ${{ github.event.pull_request.head.sha }}
6457 - name : Run Check URLs tracking
6558 id : check-urls-tracking
6659 uses : john0isaac/action-check-markdown@v1.1.0
7770 steps :
7871 - name : Checkout Repo
7972 uses : actions/checkout@v6
80- with :
81- ref : ${{ github.event.pull_request.head.sha }}
8273 - name : Run Check URLs Country Locale
8374 id : check-urls-locale
8475 uses : john0isaac/action-check-markdown@v1.1.0
9485 steps :
9586 - name : Checkout Repo
9687 uses : actions/checkout@v6
97- with :
98- ref : ${{ github.event.pull_request.head.sha }}
9988 - name : Run Check Broken URLs
10089 id : check-broken-urls
10190 uses : john0isaac/action-check-markdown@v1.1.0
You can’t perform that action at this time.
0 commit comments