File tree Expand file tree Collapse file tree 6 files changed +14
-26
lines changed
Expand file tree Collapse file tree 6 files changed +14
-26
lines changed Original file line number Diff line number Diff line change 55# Artifacts Configuration for rest-api-profil-lint-processor
66# NPM CLI application with container
77# Package tarballs will be attached to GitHub Release as assets
8-
98artifacts :
109 - name : raplp
1110 project-type : npm
@@ -15,7 +14,6 @@ artifacts:
1514 - github-packages
1615 config :
1716 node-version : 24
18-
1917# Container builds from source (no artifact dependency)
2018# Containerfile copies source code and runs npm install
2119containers :
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22#
33# SPDX-License-Identifier: CC0-1.0
4-
5- ---
64name : OpenSSF Scorecard Analysis
75on :
86 schedule :
119 # Wednesdays at 02:20 UTC
1210 - cron : " 20 2 * * 3"
1311 workflow_dispatch :
14-
1512permissions :
1613 contents : read
17-
1814jobs :
1915 scorecard-analysis :
2016 permissions :
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
22#
33# SPDX-License-Identifier: CC0-1.0
4-
5- ---
64name : Pull Request Workflow
7-
85on :
96 pull_request :
107 branches :
118 - main
129 - develop
1310 - ' release/**'
1411 - ' feature/**'
15-
1612permissions :
1713 contents : read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
18-
1914jobs :
2015 pr-checks :
21- uses : diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
16+ uses : diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@e1e1387d5b0399bb5edb00e40485746772344176 # v2.6.0
2217 secrets : inherit # Pass org-level secrets (NPM token if private packages)
2318 permissions :
2419 contents : read # Clone repository and read source code
2520 packages : read # Access private NPM packages from GitHub registry
2621 security-events : write # Upload ESLint/security findings to GitHub Security tab
2722 with :
2823 project-type : npm
29- # Use just+mise linting (replaces megalint, commitlint, licenselint)
30- linters.justmiselint : true
24+ # Use devbase-check linting (replaces megalint, commitlint, licenselint)
25+ linters.devbasecheck : true
3126 linters.megalint : false
3227 linters.commitlint : false
3328 linters.licenselint : false
3429 linters.publiccodelint : true
35-
3630 test :
3731 needs : [pr-checks]
3832 if : always() # Run tests even if linting fails (get full CI feedback)
Original file line number Diff line number Diff line change 1717# - NPM package: @diggsweden/rest-api-profil-lint-processor@0.5.9-dev-feat-name-abc1234
1818# - Container image: ghcr.io/diggsweden/rest-api-profil-lint-processor:0.5.9-dev-feat-name-abc1234
1919# - Tagged with 'dev' (not 'latest')
20-
2120name : Release Workflow Dev
22-
2321on :
2422 workflow_dispatch :
25-
2623permissions :
2724 contents : read
28-
2925jobs :
3026 dev-release :
3127 permissions :
3228 contents : read
3329 packages : write
34- uses : diggsweden/reusable-ci/.github/workflows/release-dev-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
30+ uses : diggsweden/reusable-ci/.github/workflows/release-dev-orchestrator.yml@e1e1387d5b0399bb5edb00e40485746772344176 # v2.6.0
3531 with :
3632 project-type : npm
3733 package-scope : ' @diggsweden'
Original file line number Diff line number Diff line change 44
55# Release Workflow for rest-api-profil-lint-processor
66# Uses the unified release orchestrator for NPM packages
7- ---
87name : Release
9-
108on :
119 push :
1210 tags :
1311 - ' v[0-9]+.[0-9]+.[0-9]+' # Stable: v1.0.0
1412 - ' v[0-9]+.[0-9]+.[0-9]+-alpha*' # Alpha: v1.0.0-alpha.1
1513 - ' v[0-9]+.[0-9]+.[0-9]+-beta*' # Beta: v1.0.0-beta.1
1614 - ' v[0-9]+.[0-9]+.[0-9]+-rc*' # RC: v1.0.0-rc.1
17-
1815concurrency :
1916 group : release-${{ github.ref }}
2017 cancel-in-progress : false # Queue releases, don't cancel partial releases
21-
2218permissions :
2319 contents : read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
24-
2520jobs :
2621 release :
27- uses : diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
22+ uses : diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@e1e1387d5b0399bb5edb00e40485746772344176 # v2.6.0
2823 permissions :
2924 contents : write # Create GitHub releases, push changelog commits
3025 packages : write # Publish to GitHub Packages
Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+ #
3+ # SPDX-License-Identifier: CC0-1.0
4+
5+ exclude:
6+ - apis/
7+ - node_modules/
8+ - dist/
9+ - coverage/
You can’t perform that action at this time.
0 commit comments