[ci] Bump actions/checkout to v4 (#5736)

Co-authored-by: Ryan Blue <ryanzblue@gmail.com>
This commit is contained in:
David Vo
2023-12-01 16:09:56 +11:00
committed by GitHub
parent ca684ac207
commit 9fa28eb07a
8 changed files with 24 additions and 21 deletions

View File

@@ -19,12 +19,12 @@ jobs:
comment_id: context.payload.comment.id,
content: "rocket",
});
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.COMMENT_COMMAND_PAT_TOKEN }}
- name: Fetch all history and metadata
run: |
git fetch --prune --unshallow
git checkout -b pr
git branch -f main origin/main
- name: Checkout PR