From dc27e6b50e4525e921cbd5bbf93f80461f381bb5 Mon Sep 17 00:00:00 2001 From: Naoto Mizuno Date: Sat, 31 Aug 2024 23:59:41 +0900 Subject: [PATCH] Update Actions Versions (#329) --- .github/workflows/update-best-of-list.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-best-of-list.yml b/.github/workflows/update-best-of-list.yml index 1c94b498..c801e413 100644 --- a/.github/workflows/update-best-of-list.yml +++ b/.github/workflows/update-best-of-list.yml @@ -24,19 +24,19 @@ jobs: - if: ${{ ! (env.VERSION != null && env.VERSION != '') }} name: set-version-via-date run: echo "VERSION=$(date '+%Y.%m.%d')" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: check-version-tag shell: bash run: | git fetch --tags --force git show-ref --tags --verify --quiet -- "refs/tags/${{ env.VERSION }}" && echo "VERSION=$(date '+%Y.%m.%d-%H.%M')" >> $GITHUB_ENV || exit 0 - name: create-update-branch - uses: peterjgrainger/action-create-branch@v2.0.1 + uses: peterjgrainger/action-create-branch@v3.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: branch: "${{ env.BRANCH_PREFIX }}${{ env.VERSION }}" - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ env.BRANCH_PREFIX }}${{ env.VERSION }}