Skip to content

Commit 792b2b8

Browse files
committed
ignore
1 parent 64b363f commit 792b2b8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/check-links.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
check-links:
2424
runs-on: ubuntu-latest
2525
needs: changedfiles
26-
if: ${{needs.changedfiles.outputs.md}}
26+
if:
27+
if: |
28+
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
29+
&& ${{needs.changedfiles.outputs.md}}
2730
steps:
2831
- name: Checkout Repo
2932
uses: actions/checkout@v4
@@ -38,6 +41,5 @@ jobs:
3841
markdown-link-check \
3942
--verbose \
4043
--config .github/workflows/check_links_config.json \
41-
--skip-path CHANGELOG.md \
4244
${{needs.changedfiles.outputs.md}} \
4345
|| { echo "Check that anchor links are lowercase"; exit 1; }

.github/workflows/check_links_config.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
},
99
{
1010
"pattern": "http(s)?://example.com"
11-
},
12-
{
13-
"pattern": "CHANGELOG.md"
1411
}
1512
],
1613
"aliveStatusCodes": [429, 200]

0 commit comments

Comments
 (0)