Skip to content

feature: add release fetcher and dispatcher #8

feature: add release fetcher and dispatcher

feature: add release fetcher and dispatcher #8

name: Get and Update Latest Releases
on:
schedule:
- cron: '0 0 * * 0'
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: false
jobs:
get-latest-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.22.3'
- name: update the variables
env:
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
working-directory: scripts
run: |
go run repo-variable-writer.go