Skip to content

Update outdated API data #114

Update outdated API data

Update outdated API data #114

name: Update outdated API data
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # Sunday midnight
env:
GO_VERSION: "1.24"
jobs:
update-outdated-api:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.AUTO_COMMIT_TOKEN }}
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Update Outdated API Data
run: make update-outdated-api
- name: Format Rego Files
run: make fmt-rego
- name: Push Changes
uses: stefanzweifel/git-auto-commit-action@v6
with:
commit_message: "Update outdated API data"
push_options: --force