Skip to content

Auto-generate userscripts #1842

Auto-generate userscripts

Auto-generate userscripts #1842

Workflow file for this run

name: Auto-generate userscripts
on:
push:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@main
- name: Set up Go
uses: actions/setup-go@main
- name: "Auto-generate userscript"
run: bash generate/generate-all.sh 2>&1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 1