chore: linting and semantic-commit plugins

This commit is contained in:
2025-12-06 23:54:07 +01:00
parent c8496e7dd6
commit 8fb98907cd
7 changed files with 384 additions and 387 deletions

6
.github/SECURITY.md vendored
View File

@@ -2,10 +2,8 @@
## Supported Versions
Only the latest versions of the configuration packages and
the base package are as of now supported.
Only the latest versions of the configuration packages and the base package are as of now supported.
## Reporting a Vulnerability
This repository has automatic package update systems in place.
If you find a vulnerability, please send me email and I'll fix it as soon as possible.
This repository has automatic package update systems in place. If you find a vulnerability, please send me email and I'll fix it as soon as possible.

108
.github/labels.yml vendored
View File

@@ -1,88 +1,88 @@
---
- name: "breaking-change"
- name: 'breaking-change'
color: ee0701
description: "A breaking change for existing users."
- name: "bugfix"
description: 'A breaking change for existing users.'
- name: 'bugfix'
color: ee0701
description: "Inconsistencies or issues which will cause a problem for users or implementors."
- name: "documentation"
description: 'Inconsistencies or issues which will cause a problem for users or implementors.'
- name: 'documentation'
color: 0052cc
description: "Solely about the documentation of the project."
- name: "enhancement"
description: 'Solely about the documentation of the project.'
- name: 'enhancement'
color: 1d76db
description: "Enhancement of the code, not introducing new features."
- name: "refactor"
description: 'Enhancement of the code, not introducing new features.'
- name: 'refactor'
color: 1d76db
description: "Improvement of existing code, not introducing new features."
- name: "performance"
description: 'Improvement of existing code, not introducing new features.'
- name: 'performance'
color: 1d76db
description: "Improving performance, not introducing new features."
- name: "new-feature"
description: 'Improving performance, not introducing new features.'
- name: 'new-feature'
color: 0e8a16
description: "New features or options."
- name: "maintenance"
description: 'New features or options.'
- name: 'maintenance'
color: 2af79e
description: "Generic maintenance tasks."
- name: "ci"
description: 'Generic maintenance tasks.'
- name: 'ci'
color: 1d76db
description: "Work that improves the continue integration."
- name: "dependencies"
description: 'Work that improves the continue integration.'
- name: 'dependencies'
color: 1d76db
description: "Upgrade or downgrade of project dependencies."
- name: "translations"
description: 'Upgrade or downgrade of project dependencies.'
- name: 'translations'
color: d4c5f9
description: "Impacts translations."
description: 'Impacts translations.'
- name: "in-progress"
- name: 'in-progress'
color: fbca04
description: "Issue is currently being resolved by a developer."
- name: "stale"
description: 'Issue is currently being resolved by a developer.'
- name: 'stale'
color: fef2c0
description: "There has not been activity on this issue or PR for quite some time."
- name: "no-stale"
description: 'There has not been activity on this issue or PR for quite some time.'
- name: 'no-stale'
color: fef2c0
description: "This issue or PR is exempted from the stable bot."
description: 'This issue or PR is exempted from the stable bot.'
- name: "security"
- name: 'security'
color: ee0701
description: "Marks a security issue that needs to be resolved asap."
- name: "incomplete"
description: 'Marks a security issue that needs to be resolved asap.'
- name: 'incomplete'
color: fef2c0
description: "Marks a PR or issue that is missing information."
- name: "invalid"
description: 'Marks a PR or issue that is missing information.'
- name: 'invalid'
color: fef2c0
description: "Marks a PR or issue that is missing information."
description: 'Marks a PR or issue that is missing information.'
- name: "beginner-friendly"
- name: 'beginner-friendly'
color: 0e8a16
description: "Good first issue for people wanting to contribute to the project."
- name: "help-wanted"
description: 'Good first issue for people wanting to contribute to the project.'
- name: 'help-wanted'
color: 0e8a16
description: "We need some extra helping hands or expertise in order to resolve this."
description: 'We need some extra helping hands or expertise in order to resolve this.'
- name: "hacktoberfest"
description: "Issues/PRs are participating in the Hacktoberfest."
- name: 'hacktoberfest'
description: 'Issues/PRs are participating in the Hacktoberfest.'
color: fbca04
- name: "hacktoberfest-accepted"
description: "Issues/PRs are participating in the Hacktoberfest."
- name: 'hacktoberfest-accepted'
description: 'Issues/PRs are participating in the Hacktoberfest.'
color: fbca04
- name: "priority-critical"
- name: 'priority-critical'
color: ee0701
description: "This should be dealt with ASAP. Not fixing this issue would be a serious error."
- name: "priority-high"
description: 'This should be dealt with ASAP. Not fixing this issue would be a serious error.'
- name: 'priority-high'
color: b60205
description: "After critical issues are fixed, these should be dealt with before any further issues."
- name: "priority-medium"
description: 'After critical issues are fixed, these should be dealt with before any further issues.'
- name: 'priority-medium'
color: 0e8a16
description: "This issue may be useful, and needs some attention."
- name: "priority-low"
description: 'This issue may be useful, and needs some attention.'
- name: 'priority-low'
color: e4ea8a
description: "Nice addition, maybe... someday..."
description: 'Nice addition, maybe... someday...'
- name: "major"
- name: 'major'
color: b60205
description: "This PR causes a major version bump in the version number."
- name: "minor"
description: 'This PR causes a major version bump in the version number.'
- name: 'minor'
color: 0e8a16
description: "This PR causes a minor version bump in the version number."
description: 'This PR causes a minor version bump in the version number.'

View File

@@ -1,14 +1,14 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "CodeQL"
name: 'CodeQL'
on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]
branches: ['main']
schedule:
- cron: "30 1 * * 0" # Run at 1:30 AM UTC every Sunday
- cron: '30 1 * * 0' # Run at 1:30 AM UTC every Sunday
merge_group:
permissions:
@@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["javascript", "actions"] # Add languages used in your actions
language: ['javascript', 'actions'] # Add languages used in your actions
steps:
- name: Checkout repository
@@ -43,4 +43,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7
with:
category: "/language:${{matrix.language}}"
category: '/language:${{matrix.language}}'

View File

@@ -24,9 +24,9 @@ jobs:
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
always-auth: true
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
scope: "@ivuorinen"
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
scope: '@ivuorinen'
- name: Cache Node Modules
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0

View File

@@ -49,9 +49,9 @@ jobs:
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
always-auth: true
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
scope: "@ivuorinen"
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
scope: '@ivuorinen'
- name: Install and enable corepack
shell: sh
@@ -71,6 +71,11 @@ jobs:
- name: Semantic Release
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/github
@semantic-release/npm
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}