File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1919 - name : Get changed files
2020 id : changes
2121 run : |
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
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
2325 check-links :
2426 runs-on : ubuntu-latest
2527 needs : changedfiles
Original file line number Diff line number Diff line change 66 {
77 "pattern" : " http(s)?://localhost"
88 },
9+ {
10+ "pattern" : " http(s)?://example.com"
11+ },
912 {
1013 "pattern" : " http(s)?://example.com"
1114 }
You can’t perform that action at this time.
0 commit comments