Skip to content

.github/workflows/generate.yaml #906

.github/workflows/generate.yaml

.github/workflows/generate.yaml #906

Workflow file for this run

---
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}
jobs:
fields:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
# TODO: Automatically merge the PR if tests pass.
- run: 'go generate unifi/fields.go'
- uses: 'peter-evans/create-pull-request@v6'
with:
delete-branch: true
title: 'Update to latest controller version'