chore: applying linter fixes

This commit is contained in:
Mateusz Filipowicz
2025-02-07 15:36:48 +01:00
parent 384cd0a76f
commit d8f38a84e8
4 changed files with 28 additions and 27 deletions

21
.github/.release.yml vendored
View File

@@ -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:
- "*"
- "*"

View File

@@ -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"

View File

@@ -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 }}"