From 2b5f0e1b8ed24c05b12297a3e9be9b5d83c65147 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Wed, 25 Jan 2023 16:35:09 -0800 Subject: [PATCH] github: update actions/checkout to newest version PiperOrigin-RevId: 504693188 --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 69f88670a..0d6eaa6df 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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