Files
opentf/.github/workflows/update-top-issues-ranking.yml
Martin Atkins 85e8e539d8 GitHub ACtions: use actions/setup-go v6.4.0
The version we were previously using has an incorrect hard-coded URL
template for downloading Go versions that are not yet in the action's own
manifest file, which means that it can't successfully install any Go
version that hasn't been added to the manifest yet.

This new version is updated to use an endpoint on https://go.dev/ that is
set up to redirect to whatever the correct location is, which was
recommended by a member of the Go team in actions/setup-go#665 and so is
presumably intended to remain valid.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-04-07 14:15:03 -07:00

29 lines
726 B
YAML

name: update-top-issues-ranking
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *'
jobs:
update:
runs-on: ubuntu-latest
if: github.repository_owner == 'opentofu'
permissions:
contents: read
issues: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: 1.22
- name: Update top issues ranking
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd .github/scripts/update_top_issues_ranking
go mod download
go run main.go opentofu opentofu 1496