github: update actions/checkout to newest version

PiperOrigin-RevId: 504693188
This commit is contained in:
Kevin Krakauer
2023-01-25 16:37:56 -08:00
committed by gVisor bot
parent 06670e5a9c
commit 2b5f0e1b8e
+2 -2
View File
@@ -34,12 +34,12 @@ jobs:
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"${{ github.event.pull_request.statuses_url }}"
if: github.event_name == 'pull_request'
- uses: actions/checkout@v2
- uses: actions/checkout@v3.3.0
if: github.event_name == 'push' && steps.setup.outputs.has_token == 'true'
with:
fetch-depth: 0
token: '${{ secrets.GO_TOKEN }}'
- uses: actions/checkout@v2
- uses: actions/checkout@v3.3.0
if: github.event_name == 'pull_request' || steps.setup.outputs.has_token != 'true'
with:
fetch-depth: 0