Compare commits

...

19 Commits

Author SHA1 Message Date
semantic-release-bot
98d9f7410d chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/ivuorinen/base-configs/compare/v1.0.1...v1.0.2) (2026-02-26)

### Bug Fixes

* **ci:** consolidate CodeQL workflows with proper permissions ([#473](https://github.com/ivuorinen/base-configs/issues/473)) ([ee3606e](ee3606e3cb))
2026-02-26 21:07:41 +00:00
renovate[bot]
c3e9b156e4 chore(deps): lock file maintenance (#475) 2026-02-26 23:04:07 +02:00
renovate[bot]
8551db8073 chore(deps): update node.js (v24.13.1 → v24.14.0) (#474)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-26 22:28:08 +02:00
ee3606e3cb fix(ci): consolidate CodeQL workflows with proper permissions (#473)
* fix(ci): consolidate CodeQL workflows with proper permissions

Merge codeql.yml and codeql-analysis.yml into a single workflow.
Add top-level permissions block to fix Checkov CKV2_GHA_1.

Changes:
- Add top-level permissions (actions: read, contents: read)
- Add merge_group trigger
- Enable security-and-quality query suite
- Use javascript-typescript language with build-mode: none
- Remove redundant codeql-analysis.yml

* fix(ci): include all required permissions at job level

Job-level permissions override top-level permissions in GitHub Actions
rather than extending them. Add actions: read and contents: read to
the job-level block so the analyze job retains all required permissions.
2026-02-26 22:20:14 +02:00
79ea896d8e chore(deps): update dependencies, release config 2026-02-25 21:41:04 +02:00
renovate[bot]
1dd35376c7 chore(deps): lock file maintenance (#472) 2026-02-23 21:43:58 +02:00
renovate[bot]
9744eabce9 chore(deps): update github/codeql-action action (v4.32.3 → v4.32.4) (#471)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-22 04:46:45 +00:00
dependabot[bot]
78ef670756 chore(deps): bump tar from 7.5.7 to 7.5.9 (#469)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.9.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.7...v7.5.9)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-20 14:15:51 +02:00
renovate[bot]
e9ae91a8d7 chore(deps): update ivuorinen/actions action (v2026.02.10 → v2026.02.18) (#470)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-20 04:51:31 +00:00
renovate[bot]
914e186966 chore(deps): lock file maintenance (#468) 2026-02-18 00:00:27 +02:00
renovate[bot]
77d4ab15e8 chore(deps): update github/codeql-action action (v4.32.2 → v4.32.3) (#467)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-15 04:50:26 +00:00
renovate[bot]
becac6d7c4 chore(deps): update node.js (v24.13.0 → v24.13.1) (#466)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-12 09:12:11 +00:00
renovate[bot]
ebb6cfce3d chore(deps): update ivuorinen/actions action (v2026.02.03 → v2026.02.10) (#465)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-12 06:31:47 +00:00
renovate[bot]
722fa145d2 chore(deps): update simek/yarn-lock-changes action (v0.14.0 → v0.14.1) (#464)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-09 10:37:35 +00:00
renovate[bot]
acc2da1f37 chore(deps): update github/codeql-action action (v4.32.1 → v4.32.2) (#463)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-07 04:51:24 +00:00
renovate[bot]
3340f5d4e2 chore(deps): update ivuorinen/actions action (v2026.01.21 → v2026.02.03) (#462)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 14:00:28 +00:00
renovate[bot]
65ea3e0ffb chore(deps): update github/codeql-action action (v4.32.0 → v4.32.1) (#461)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 04:24:28 +00:00
renovate[bot]
6845253eab chore(deps): update simek/yarn-lock-changes action (v0.12.2 → v0.14.0) (#460)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-01 22:08:18 +02:00
renovate[bot]
d48f64b4d9 chore(deps): update actions/cache action (v5.0.2 → v5.0.3) (#459)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-31 18:45:12 +02:00
11 changed files with 977 additions and 1260 deletions

View File

@@ -1,6 +1,6 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: 'CodeQL' name: 'CodeQL Advanced'
on: on:
push: push:
@@ -17,30 +17,35 @@ permissions:
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
actions: read
contents: read
security-events: write security-events: write
packages: read
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: ['javascript', 'actions'] # Add languages used in your actions include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-and-quality queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0 uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
with: with:
category: '/language:${{matrix.language}}' category: '/language:${{matrix.language}}'

54
.github/workflows/pr-lint.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Lint PR Code Base
on:
pull_request:
branches: [master, main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
jobs:
Linter:
name: PR Lint
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
issues: write
packages: read
pull-requests: write
statuses: write
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install and enable corepack
shell: sh
run: npm install -g corepack --force && corepack enable
- name: Yarn Lock Changes
uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run PR Lint
# https://github.com/ivuorinen/actions
uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -29,7 +29,7 @@ jobs:
scope: '@ivuorinen' scope: '@ivuorinen'
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
id: cache id: cache
with: with:
path: node_modules path: node_modules
@@ -45,6 +45,6 @@ jobs:
run: yarn install run: yarn install
- name: Yarn Lock Changes - name: Yarn Lock Changes
uses: Simek/yarn-lock-changes@61d1a0595070b79c1abdc8e1e5a5f5d98b18918c # v0.12.2 uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -27,7 +27,7 @@ jobs:
steps: steps:
- name: Run PR Lint - name: Run PR Lint
# https://github.com/ivuorinen/actions # https://github.com/ivuorinen/actions
uses: ivuorinen/actions/pr-lint@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21 uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
publish: publish:
name: Publish name: Publish
@@ -59,7 +59,7 @@ jobs:
run: npm install -g corepack --force && corepack enable run: npm install -g corepack --force && corepack enable
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
id: cache id: cache
with: with:
path: node_modules path: node_modules

View File

@@ -4,7 +4,7 @@ name: Stale
on: on:
schedule: schedule:
- cron: '0 8 * * *' # Every day at 08:00 - cron: "0 8 * * *" # Every day at 08:00
workflow_call: workflow_call:
workflow_dispatch: workflow_dispatch:
@@ -23,4 +23,4 @@ jobs:
issues: write issues: write
pull-requests: write pull-requests: write
steps: steps:
- uses: ivuorinen/actions/stale@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21 - uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24

41
.github/workflows/sync-labels.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Sync Labels
on:
push:
branches:
- main
- master
paths:
- ".github/labels.yml"
- ".github/workflows/sync-labels.yml"
schedule:
- cron: "34 5 * * *" # Run every day at 05:34 AM UTC
workflow_call:
workflow_dispatch:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
labels:
name: ♻️ Sync Labels
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
issues: write
steps:
- name: ⤵️ Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: ⤵️ Sync Latest Labels Definitions
uses: ivuorinen/actions/sync-labels@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24

2
.nvmrc
View File

@@ -1 +1 @@
24.13.0 24.14.0

View File

@@ -1,4 +1,8 @@
{ {
"extends": ["@ivuorinen/semantic-release-config"], "extends": [
"branches": ["main"] "@ivuorinen/semantic-release-config"
],
"branches": [
"main"
]
} }

View File

@@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file. See All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.0.2](https://github.com/ivuorinen/base-configs/compare/v1.0.1...v1.0.2) (2026-02-26)
### Bug Fixes
* **ci:** consolidate CodeQL workflows with proper permissions ([#473](https://github.com/ivuorinen/base-configs/issues/473)) ([ee3606e](https://github.com/ivuorinen/base-configs/commit/ee3606e3cb811b17b89271e9e176e466dbf61511))
## [1.0.1](https://github.com/ivuorinen/base-configs/compare/v1.0.0...v1.0.1) (2026-01-30) ## [1.0.1](https://github.com/ivuorinen/base-configs/compare/v1.0.0...v1.0.1) (2026-01-30)

View File

@@ -1,6 +1,6 @@
{ {
"name": "@ivuorinen/base-configs", "name": "@ivuorinen/base-configs",
"version": "1.0.1", "version": "1.0.2",
"type": "module", "type": "module",
"description": "ivuorinen's shareable configurations meta package", "description": "ivuorinen's shareable configurations meta package",
"author": { "author": {
@@ -54,7 +54,7 @@
"@ivuorinen/eslint-config": "^1.0.0", "@ivuorinen/eslint-config": "^1.0.0",
"@ivuorinen/markdownlint-config": "^1.0.1", "@ivuorinen/markdownlint-config": "^1.0.1",
"@ivuorinen/prettier-config": "^1.0.0", "@ivuorinen/prettier-config": "^1.0.0",
"@ivuorinen/semantic-release-config": "^1.1.0", "@ivuorinen/semantic-release-config": "^1.1.1",
"@types/node": "*", "@types/node": "*",
"npm-run-all2": "^8.0.4", "npm-run-all2": "^8.0.4",
"simple-git-hooks": "^2.13.1", "simple-git-hooks": "^2.13.1",

2088
yarn.lock

File diff suppressed because it is too large Load Diff