Skip to content

Commit 1410efb

Browse files
committed
skip
1 parent 844e57b commit 1410efb

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/check-links.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
- name: Get changed files
2020
id: changes
2121
run: |
22-
md=$(git diff --name-only --diff-filter=ACMRTUXB $(git merge-base origin/main ${{ github.event.pull_request.head.sha }}) ${{ github.event.pull_request.head.sha }} | grep .md$ | xargs)
23-
echo "Markdown files changed: $md"
24-
echo "md=$md" >> $GITHUB_OUTPUT
22+
echo "md=$(git diff --name-only --diff-filter=ACMRTUXB $(git merge-base origin/main ${{ github.event.pull_request.head.sha }}) ${{ github.event.pull_request.head.sha }} | grep .md$ | xargs)" >> $GITHUB_OUTPUT
2523
check-links:
2624
runs-on: ubuntu-latest
2725
needs: changedfiles
@@ -40,5 +38,6 @@ jobs:
4038
markdown-link-check \
4139
--verbose \
4240
--config .github/workflows/check_links_config.json \
41+
--skip-path CHANGELOG.md \
4342
${{needs.changedfiles.outputs.md}} \
4443
|| { 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
@@ -6,9 +6,6 @@
66
{
77
"pattern": "http(s)?://localhost"
88
},
9-
{
10-
"pattern": "http(s)?://example.com"
11-
},
129
{
1310
"pattern": "http(s)?://example.com"
1411
}

.github/workflows/misc_0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
runs-on: ubuntu-latest
216216
if: |
217217
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
218-
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
218+
&& github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
219219
steps:
220220
- name: Checkout repo @ SHA - ${{ github.sha }}
221221
uses: actions/checkout@v4

0 commit comments

Comments
 (0)