.github/workflows/generate.yaml #966
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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' |