Skip to content

Commit

Permalink
ci: try
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangze-Li committed Oct 11, 2024
1 parent fae93e6 commit 7539fc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto-correct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get changed files
id: changed_files
run: echo "files=$(git diff --diff-filter=AM --name-only ${{ github.event.pull_request.base.sha }})" >> $GITHUB_OUTPUT
# - name: Get changed files
# id: changed_files
# run: echo "files=$(git diff --diff-filter=AM --name-only ${{ github.event.pull_request.base.sha }})" >> $GITHUB_OUTPUT
- name: AutoCorrect
uses: huacnlee/autocorrect-action@v2
with:
args: --lint --no-diff-bg-color ${{ steps.changed_files.outputs.files }}
# with:
# args: --lint --no-diff-bg-color ${{ steps.changed_files.outputs.files }}

0 comments on commit 7539fc6

Please sign in to comment.