Skip to content

Commit 4a8df17

Browse files
committed
refactor: merge
2 parents a453c2c + cbab1bc commit 4a8df17

File tree

69 files changed

+6477
-5388
lines changed

Some content is hidden

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

69 files changed

+6477
-5388
lines changed

.config/.lintstagedrc.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"*.md": "markdownlint -c .markdown-lint.yml",
3-
"*.{css,scss}": "stylelint --fix",
2+
"*.md": "markdownlint -c .markdown-lint.yml --fix",
3+
".stylelintrc.*": "stylelint --validate --allow-empty-input",
4+
"stylelint.config.*": "stylelint --validate --allow-empty-input",
5+
"*.{css,scss}": "stylelint --fix --allow-empty-input",
46
"*.{js,ts,tsx,jsx,mjs,cjs}": "xo --fix"
57
}

.github/actions/download-tar-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
using: "composite"
1313
steps:
1414
- name: ⬇ Download build
15-
uses: actions/download-artifact@v3
15+
uses: actions/download-artifact@v4
1616
with:
1717
name: ${{ inputs.name }}
1818

.github/actions/extract-branch/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
using: "composite"
1010
steps:
1111
- name: ⏬ Get branch name
12-
uses: actions/github-script@v6
12+
uses: actions/github-script@v7
1313
id: get-branch-name
1414
with:
1515
result-encoding: string

.github/actions/npm-cache/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ runs:
88
# https://github.com/actions/setup-node
99
uses: actions/setup-node@v4
1010
with:
11-
node-version: 20
11+
node-version-file: ".nvmrc"
1212

1313
- name: Display node and npm version
1414
shell: bash
1515
run: |
1616
node --version
1717
npm --version
1818
19-
- uses: actions/cache@v3
19+
- uses: actions/cache@v4
2020
id: "npm-cache" # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
2121
with:
2222
path: "./node_modules"

.github/actions/upload-tar-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
shell: bash
1717

1818
- name: ⬆ Upload build
19-
uses: actions/upload-artifact@v3
19+
uses: actions/upload-artifact@v4
2020
with:
2121
name: ${{ inputs.name }}
2222
path: ${{ inputs.name }}

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ updates:
99
timezone: "Europe/Berlin"
1010
pull-request-branch-name:
1111
separator: "-"
12+
cooldown:
13+
default-days: 3
1214

1315
# Daily: Check minor and patch updates
1416
- package-ecosystem: "npm"
@@ -22,7 +24,17 @@ updates:
2224
separator: "-"
2325
# https://github.com/dependabot/dependabot-core/issues/5226#issuecomment-1179434437
2426
versioning-strategy: increase
27+
cooldown:
28+
default-days: 3
2529
groups:
30+
patch-dependencies:
31+
update-types:
32+
- "patch"
33+
patterns:
34+
- "*"
2635
commitlint:
2736
patterns:
2837
- "@commitlint*"
38+
babel:
39+
patterns:
40+
- "@babel*"

.github/scripts/publish-npm.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ do
3535
echo "🔑 Authenticated with GITHUB"
3636
elif [[ $REGISTRY == 'NPM' ]]; then
3737
npm config set @db-ui:registry https://registry.npmjs.org/
38-
npm set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
3938
echo "🔑 Authenticated with NPM"
4039
else
4140
echo "Could not authenticate with $REGISTRY"
4241
exit 1
4342
fi
4443
# https://docs.npmjs.com/generating-provenance-statements#example-github-actions-workflow
45-
npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz --provenance
44+
npm publish --tag "$TAG" db-ui-core-"$VALID_SEMVER_VERSION".tgz
4645
done

.github/workflows/00-init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: styfle/cancel-workflow-action@0.12.1
1313

1414
- name: ⬇️ Checkout repo
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616

1717
- name: 🔄 Init Cache Default
1818
uses: ./.github/actions/npm-cache

.github/workflows/00-scan-secrets.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,24 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: ⬇ Checkout repo
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v5
1212
with:
1313
fetch-depth: 0
1414

1515
- name: ↔ Extract branch name
1616
uses: ./.github/actions/extract-branch
1717
id: extract_branch
1818

19+
# https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
1920
- name: 🐷 TruffleHog OSS
2021
uses: trufflesecurity/trufflehog@main
2122
if: ${{ github.event.pull_request != null }} # only scan on pull-requests
2223
with:
23-
path: ./
24-
base: ${{ steps.extract_branch.outputs.branch-name }}
25-
head: HEAD
24+
# Setting base to an empty string scans the entire branch, per TruffleHog OSS advanced usage:
25+
# https://github.com/marketplace/actions/trufflehog-oss#advanced-usage-scan-entire-branch
26+
base: ""
27+
head: ${{ github.ref_name }}
28+
extra_args: --results=verified,unknown
2629

2730
- name: 💀 Killing me softly
2831
uses: ./.github/actions/cancel-workflow

.github/workflows/01-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: ⬇️ Checkout repo
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v5
1313

1414
- name: 🔄 Init Cache
1515
uses: ./.github/actions/npm-cache

0 commit comments

Comments
 (0)