chore: applying linter fixes
This commit is contained in:
21
.github/.release.yml
vendored
21
.github/.release.yml
vendored
@@ -1,18 +1,19 @@
|
||||
---
|
||||
changelog:
|
||||
exclude:
|
||||
labels:
|
||||
- ignore-for-release
|
||||
- dependencies
|
||||
- "ignore-for-release"
|
||||
- "dependencies"
|
||||
categories:
|
||||
- title: Breaking Changes 🛠
|
||||
- title: "Breaking Changes 🛠"
|
||||
labels:
|
||||
- breaking
|
||||
- title: New Features 🎉
|
||||
- "breaking"
|
||||
- title: "New Features 🎉"
|
||||
labels:
|
||||
- feature
|
||||
- title: Fixes 🔧
|
||||
- "feature"
|
||||
- title: "Fixes 🔧"
|
||||
labels:
|
||||
- fix
|
||||
- title: Other Changes
|
||||
- "fix"
|
||||
- title: "Other Changes"
|
||||
labels:
|
||||
- "*"
|
||||
- "*"
|
||||
|
||||
8
.github/workflows/conventional-commits.yml
vendored
8
.github/workflows/conventional-commits.yml
vendored
@@ -1,12 +1,12 @@
|
||||
---
|
||||
name: conventional-commits
|
||||
name: "conventional-commits"
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- "opened"
|
||||
- "edited"
|
||||
jobs:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "bcoe/conventional-release-labels@v1"
|
||||
|
||||
24
.github/workflows/generate.yaml
vendored
24
.github/workflows/generate.yaml
vendored
@@ -1,35 +1,35 @@
|
||||
---
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
contents: "write"
|
||||
pull-requests: "write"
|
||||
|
||||
jobs:
|
||||
fields:
|
||||
runs-on: 'ubuntu-latest'
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: 'actions/checkout@v4'
|
||||
- uses: "actions/checkout@v4"
|
||||
|
||||
- uses: 'actions/setup-go@v5'
|
||||
- uses: "actions/setup-go@v5"
|
||||
|
||||
|
||||
- name: "Generate new client structures"
|
||||
run: 'go generate unifi/fields.go'
|
||||
|
||||
- name: Read Unifi version marker
|
||||
id: unifi_version
|
||||
- name: "Read Unifi version marker"
|
||||
id: "unifi_version"
|
||||
uses: 'juliangruber/read-file-action@v1'
|
||||
with:
|
||||
path: ./unifi-version
|
||||
path: "./unifi-version"
|
||||
trim: 'true'
|
||||
|
||||
# TODO: Automatically merge the PR if tests pass.
|
||||
- uses: 'peter-evans/create-pull-request@v7'
|
||||
- uses: "peter-evans/create-pull-request@v7"
|
||||
with:
|
||||
delete-branch: true
|
||||
title: 'feat: update to the controller version ${{ steps.unifi_version.outputs.content }}'
|
||||
commit-message: 'feat: update to the controller version ${{ steps.unifi_version.outputs.content }}'
|
||||
title: "feat: update to the controller version ${{ steps.unifi_version.outputs.content }}"
|
||||
commit-message: "feat: update to the controller version ${{ steps.unifi_version.outputs.content }}"
|
||||
|
||||
Reference in New Issue
Block a user