diff --git a/.github/workflows/check-latest-release.yml b/.github/workflows/check-latest-release.yml index 520ed73b6..9a8a48e5e 100644 --- a/.github/workflows/check-latest-release.yml +++ b/.github/workflows/check-latest-release.yml @@ -22,7 +22,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@v9 with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index c8b6809e8..d0a665eb9 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -29,8 +29,8 @@ jobs: echo "LIFECYCLE_VERSION=$version" >> $GITHUB_ENV - name: Determine download urls for linux-x86-64, linux-arm64, linux-ppc64le, linux-s390x, freebsd-amd64, freebsd-arm64 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@v9 + uses: actions/github-script@v9 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -122,7 +122,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@v9 with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string