Skip to content

Commit 8c0dda2

Browse files
committed
build: update justfile and reuseable-ci
Signed-off-by: Josef Andersson <josef.andersson@digg.se>
1 parent f2bb39a commit 8c0dda2

File tree

13 files changed

+488
-259
lines changed

13 files changed

+488
-259
lines changed

.conform.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2-
#
3-
# SPDX-License-Identifier: CC0-1.0
4-
5-
---
61
policies:
72
- type: commit
83
spec:
@@ -17,6 +12,6 @@ policies:
1712
body:
1813
required: false
1914
conventional:
20-
types: ['chore', 'build', 'docs', 'ci', 'perf', 'refactor', 'style', 'test', 'release']
21-
scopes: ['.*']
15+
types: ["build", "chore", "docs", "ci", "perf", "refactor", "style", "test", "release"]
16+
scopes: [".*"]
2217
descriptionLength: 92

.github/workflows/openssf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
contents: read
2222
security-events: write
2323
id-token: write
24-
uses: diggsweden/reusable-ci/.github/workflows/security-openssf-scorecard.yml@8a16cb75501be27dde6b5fba6c93ae091442d476 # v2.4.1
24+
uses: diggsweden/reusable-ci/.github/workflows/security-openssf-scorecard.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
2525
with:
2626
publish-results: true

.github/workflows/pullrequest-workflow.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,19 @@ permissions:
1818

1919
jobs:
2020
pr-checks:
21-
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@8a16cb75501be27dde6b5fba6c93ae091442d476 # v2.4.1
21+
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
2222
secrets: inherit # Pass org-level secrets (NPM token if private packages)
2323
permissions:
2424
contents: read # Clone repository and read source code
2525
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
29-
# MegaLinter is disabled for this project
30-
linters.megalint: false # Skip MegaLinter
29+
# Use just+mise linting (replaces megalint, commitlint, licenselint)
30+
linters.justmiselint: true
31+
linters.megalint: false
32+
linters.commitlint: false
33+
linters.licenselint: false
3134
linters.publiccodelint: true
3235

3336
test:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
permissions:
3232
contents: read
3333
packages: write
34-
uses: diggsweden/reusable-ci/.github/workflows/release-dev-orchestrator.yml@8a16cb75501be27dde6b5fba6c93ae091442d476 # v2.4.1
34+
uses: diggsweden/reusable-ci/.github/workflows/release-dev-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
3535
with:
3636
project-type: npm
3737
package-scope: '@diggsweden'

.github/workflows/release-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424

2525
jobs:
2626
release:
27-
uses: diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@8a16cb75501be27dde6b5fba6c93ae091442d476 # v2.4.1
27+
uses: diggsweden/reusable-ci/.github/workflows/release-orchestrator.yml@e29145e720cef0b86ef147c72c2d001b5ac6c8b9 # v2.4.2
2828
permissions:
2929
contents: write # Create GitHub releases, push changelog commits
3030
packages: write # Publish to GitHub Packages

.mise.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-FileCopyrightText: 2025 Digg - Agency for Digital Government
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
[settings]
6+
experimental = true
7+
paranoid = true
8+
9+
[env]
10+
HTTP_PROXY = "{{ get_env(name='HTTP_PROXY', default='') }}"
11+
HTTPS_PROXY = "{{ get_env(name='HTTPS_PROXY', default='') }}"
12+
NO_PROXY = "{{ get_env(name='NO_PROXY', default='') }}"
13+
http_proxy = "{{ get_env(name='http_proxy', default='') }}"
14+
https_proxy = "{{ get_env(name='https_proxy', default='') }}"
15+
no_proxy = "{{ get_env(name='no_proxy', default='') }}"
16+
PIP_INDEX_URL = "{{ get_env(name='PIP_INDEX_URL', default='') }}"
17+
18+
[tools]
19+
node = "22"
20+
"aqua:casey/just" = "1.43.0"
21+
"aqua:rhysd/actionlint" = "v1.7.8"
22+
"aqua:siderolabs/conform" = "v0.1.0-alpha.30"
23+
"aqua:zricethezav/gitleaks" = "v8.29.1"
24+
"ubi:rvben/rumdl" = "v0.0.173"
25+
"aqua:koalaman/shellcheck" = "v0.11.0"
26+
"aqua:mvdan/sh" = "v3.12.0"
27+
"aqua:google/yamlfmt" = "v0.20.0"
28+
"aqua:hadolint/hadolint" = "v2.12.0"
29+
"pipx:reuse" = "6.2.0"

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = 1
66

77
# configurations
88
[[annotations]]
9-
path = ["CHANGELOG.md","tsconfig.json","package.json","package-lock.json"]
9+
path = ["CHANGELOG.md","tsconfig.json","package.json","package-lock.json",".conform.yaml"]
1010
precedence = "aggregate"
1111
SPDX-FileCopyrightText = "2025 Digg - Agency for Digital Government"
1212
SPDX-License-Identifier = "CC0-1.0"

0 commit comments

Comments
 (0)