Skip to content

Commit b2d8f40

Browse files
authored
chore: update licence headers as recommended (#441)
Signed-off-by: Mats Johansson <extern.mats.johansson@digg.se>
1 parent dff2fa4 commit b2d8f40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+144
-132
lines changed

.conform.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.github/artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

@@ -14,26 +14,26 @@ on:
1414
- 'feature/**'
1515

1616
permissions:
17-
contents: read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
17+
contents: read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
1818

1919
jobs:
2020
pr-checks:
2121
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
22-
secrets: inherit # Pass org-level secrets (NPM token if private packages)
22+
secrets: inherit # Pass org-level secrets (NPM token if private packages)
2323
permissions:
24-
contents: read # Clone repository and read source code
25-
packages: read # Access private NPM packages from GitHub registry
24+
contents: read # Clone repository and read source code
25+
packages: read # Access private NPM packages from GitHub registry
2626
security-events: write # Upload ESLint/security findings to GitHub Security tab
2727
with:
2828
project-type: npm
2929
# MegaLinter is disabled for this project
30-
linters.megalint: false # Skip MegaLinter
30+
linters.megalint: false # Skip MegaLinter
3131
linters.publiccodelint: true
32-
32+
3333
test:
3434
needs: [pr-checks]
35-
if: always() # Run tests even if linting fails (get full CI feedback)
35+
if: always() # Run tests even if linting fails (get full CI feedback)
3636
permissions:
37-
contents: read # Read test files and source code
38-
packages: read # Fetch test dependencies from registry
39-
uses: ./.github/workflows/test.yml
37+
contents: read # Read test files and source code
38+
packages: read # Fetch test dependencies from registry
39+
uses: ./.github/workflows/test.yml

.github/workflows/release-dev-workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

55
# Release Workflow Dev
6-
#
6+
#
77
# Triggers dev builds for testing on development branches.
88
# Creates:
99
# - Dev container image (ghcr.io)
1010
# - Dev NPM package (GitHub Packages)
1111
#
1212
# Triggers:
13-
# - Push to dev/* or feat/* branches
13+
# - Push to dev/* or feat/* branches
1414
# - Manual workflow dispatch
1515
#
1616
# Created artifacts:
@@ -34,5 +34,5 @@ jobs:
3434
uses: diggsweden/reusable-ci/.github/workflows/release-dev-orchestrator.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
3535
with:
3636
project-type: npm
37-
package-scope: "@diggsweden"
38-
secrets: inherit
37+
package-scope: '@diggsweden'
38+
secrets: inherit
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

@@ -10,30 +10,30 @@ name: Release
1010
on:
1111
push:
1212
tags:
13-
- "v[0-9]+.[0-9]+.[0-9]+" # Stable: v1.0.0
14-
- "v[0-9]+.[0-9]+.[0-9]+-alpha*" # Alpha: v1.0.0-alpha.1
15-
- "v[0-9]+.[0-9]+.[0-9]+-beta*" # Beta: v1.0.0-beta.1
16-
- "v[0-9]+.[0-9]+.[0-9]+-rc*" # RC: v1.0.0-rc.1
13+
- 'v[0-9]+.[0-9]+.[0-9]+' # Stable: v1.0.0
14+
- 'v[0-9]+.[0-9]+.[0-9]+-alpha*' # Alpha: v1.0.0-alpha.1
15+
- 'v[0-9]+.[0-9]+.[0-9]+-beta*' # Beta: v1.0.0-beta.1
16+
- 'v[0-9]+.[0-9]+.[0-9]+-rc*' # RC: v1.0.0-rc.1
1717

1818
concurrency:
1919
group: release-${{ github.ref }}
20-
cancel-in-progress: false # Queue releases, don't cancel partial releases
20+
cancel-in-progress: false # Queue releases, don't cancel partial releases
2121

2222
permissions:
23-
contents: read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
23+
contents: read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
2424

2525
jobs:
2626
release:
2727
uses: diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@1a7dcd9c5257495ebf141e4e4b4bac438a8aae56 # v2.0.0
2828
permissions:
29-
contents: write # Create GitHub releases, push changelog commits
30-
packages: write # Publish to GitHub Packages
31-
id-token: write # Generate OIDC token for SLSA provenance
32-
attestations: write # Attach SBOM attestations
33-
security-events: write # Upload container vulnerability scan results
34-
actions: read # Required for SLSA provenance
29+
contents: write # Create GitHub releases, push changelog commits
30+
packages: write # Publish to GitHub Packages
31+
id-token: write # Generate OIDC token for SLSA provenance
32+
attestations: write # Attach SBOM attestations
33+
security-events: write # Upload container vulnerability scan results
34+
actions: read # Required for SLSA provenance
3535
secrets: inherit
3636
with:
3737
artifacts-config: .github/artifacts.yml
38-
file-pattern: "CHANGELOG.md package.json package-lock.json"
39-
release-publisher: github-cli
38+
file-pattern: 'CHANGELOG.md package.json package-lock.json'
39+
release-publisher: github-cli

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44
---
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
1919
with:
20-
node-version: "22.21.0"
20+
node-version: '22.21.0'
2121

2222
- name: Install dependencies
2323
run: npm ci

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
; SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
;
33
; SPDX-License-Identifier: CC0-1.0
44

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
2+
SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
33
44
SPDX-License-Identifier: CC-BY-4.0
55
-->

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

0 commit comments

Comments
 (0)