Files
go-unifi/.github/workflows/generate.yaml
Joshua Spence 57fb86b68c Fix setup-go in generate workflow (#112)
* Update generate.yaml

* Update generate.yaml
2023-03-04 13:17:13 +11:00

22 lines
487 B
YAML

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