申领对WritingAnLLVMNewPMPass.md的翻译 #197
Workflow file for this run
This file contains 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: Check Article Validity | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'sources/**.md' | |
jobs: | |
check-article: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get Diff | |
id: git-diff-action | |
uses: GrantBirki/[email protected] | |
with: | |
json_diff_file_output: diff.json | |
file_output_only: true | |
- name: Run Checks | |
env: | |
DIFF_JSON: ${{ steps.git-diff-action.outputs.json-diff-path }} | |
ACTOR_ID: ${{ github.actor }} | |
run: | | |
/bin/bash ./.scripts/check.sh |