diff --git a/.github/workflows/check-latest-release.yml b/.github/workflows/check-latest-release.yml index dc75d19c2..8cff59f87 100644 --- a/.github/workflows/check-latest-release.yml +++ b/.github/workflows/check-latest-release.yml @@ -19,7 +19,7 @@ jobs: go-version-file: 'go.mod' - name: Get previous release tag id: get-previous-release-tag - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 858a50afb..4af49f637 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -26,8 +26,8 @@ jobs: echo "LIFECYCLE_VERSION=$version" >> $GITHUB_ENV - name: Determine download urls for linux-x86-64, linux-arm64, linux-s390x, and windows id: artifact-urls - # FIXME: this script should be updated to work with actions/github-script@v6 - uses: actions/github-script@v3 + # FIXME: this script should be updated to work with actions/github-script@v7 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -116,7 +116,7 @@ jobs: echo "RELEASE_KIND=release" >> $GITHUB_ENV - name: Get previous release tag id: get-previous-release-tag - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string