AI Translate 32-system-history-tables to Simplified-Chinese (#2854) #1632
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Links (Fail Fast) | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| linkChecker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - name: 'Get a list of changed markdown files to process' | |
| id: changed-files | |
| run: | | |
| CHANGED_FILES=$(git diff-tree --name-only --diff-filter 'AM' -r HEAD^1 HEAD -- "*.md" | sed -z "s/\n$//;s/\n/' '/g") | |
| echo "::set-output name=all_changed_files::${CHANGED_FILES}" | |
| - name: Link Checker | |
| if: ${{ steps.changed-files.outputs.all_changed_files }} | |
| uses: lycheeverse/[email protected] | |
| with: | |
| fail: true | |
| args: -E --exclude-mail -i -n -t 45 -- '${{ steps.changed-files.outputs.all_changed_files }}' | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |