Skip to content

Commit

Permalink
chore: changeset check (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang authored Dec 31, 2023
1 parent 1cdd187 commit 1556512
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 1556512

Please sign in to comment.