Skip to content

Commit bfaad42

Browse files
committed
Update check-links.yml
1 parent a1083d1 commit bfaad42

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check-links.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,17 @@ jobs:
2323
check-links:
2424
runs-on: ubuntu-latest
2525
needs: changedfiles
26-
if: ${{needs.changedfiles.outputs.md}}
26+
if: |
27+
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
28+
&& ${{needs.changedfiles.outputs.md}}
2729
steps:
2830
- name: Checkout Repo
2931
uses: actions/checkout@v4
3032
with:
3133
fetch-depth: 0
3234

3335
- name: Install markdown-link-check
34-
run: npm install -g markdown-link-check
36+
run: npm install -g markdown-link-check@v3.12.2
3537

3638
- name: Run markdown-link-check
3739
run: |

0 commit comments

Comments
 (0)