File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 44 branches : [ main ]
55 pull_request :
66
7+ env :
8+ IGNORE_FILES : " CHANGELOG.md|" # Define ignore list here
9+
710jobs :
811 changedfiles :
912 name : changed files
1922 - name : Get changed files
2023 id : changes
2124 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
25+ 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$ | grep -v -E "$IGNORE_FILES" | xargs)" >> $GITHUB_OUTPUT
2326 check-links :
2427 runs-on : ubuntu-latest
2528 needs : changedfiles
You can’t perform that action at this time.
0 commit comments