Skip to content

Commit

Permalink
fix: pr-comment-ci (#4335)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Jun 25, 2024
1 parent 3c81198 commit a7fcee3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/pr-comment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ jobs:
if: ${{ needs.check.outputs.next_action == 'update-common' }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: gh checkout pr
env:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
run: gh pr checkout ${{ github.event.issue.number }}
run: gh pr checkout ${{ github.event.issue.number }} --recurse-submodules
- run: git submodule update --remote --merge
- name: Commit Common
env:
Expand All @@ -77,12 +75,10 @@ jobs:
if: ${{ needs.check.outputs.next_action == 'update-snapshot' }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: gh checkout pr
env:
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
run: gh pr checkout ${{ github.event.issue.number }}
run: gh pr checkout ${{ github.event.issue.number }} --recurse-submodules
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down

0 comments on commit a7fcee3

Please sign in to comment.