Files
go-unifi/.github/workflows/generate.yaml
Joshua Spence 206f4be940 Make golangci-lint more strict (#150)
* Reformat some YAML files

* Make `golangci-lint` more strict
2023-06-23 09:00:12 +10:00

20 lines
451 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@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'