Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang authored Dec 31, 2023
2 parents 2803290 + 1556512 commit 0797d3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/changeset-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ jobs:
id: check_changeset
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
GH_TOKEN: ${{ github.token }}
run: |
# 拉取 pr 源分支代码
git fetch origin ${{ github.event.pull_request.head.ref }}:${{ github.event.pull_request.head.ref }}
git checkout ${{ github.event.pull_request.head.ref }}
git reset --hard ${{ github.event.pull_request.head.sha }}
gh pr checkout ${{ github.event.pull_request.number }}
ls -al .changeset
files=$ALL_CHANGED_FILES
echo "File list: $files"
Expand Down

0 comments on commit 0797d3b

Please sign in to comment.