.github/workflows/generate.yaml #528
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/[email protected]' | |
- uses: 'actions/setup-go@v4' | |
# TODO: Automatically merge the PR if tests pass. | |
- run: 'go generate unifi/fields.go' | |
- uses: 'peter-evans/create-pull-request@v5' | |
with: | |
delete-branch: true | |
title: 'Update to latest controller version' |