@ivuorinen/base-configs 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3
- name: 'CodeQL'
3
+ name: 'CodeQL Advanced'
4
4
 
5
5
  on:
6
6
  push:
@@ -17,30 +17,35 @@ permissions:
17
17
 
18
18
  jobs:
19
19
  analyze:
20
- name: Analyze
20
+ name: Analyze (${{ matrix.language }})
21
21
  runs-on: ubuntu-latest
22
22
  permissions:
23
+ actions: read
24
+ contents: read
23
25
  security-events: write
26
+ packages: read
24
27
 
25
28
  strategy:
26
29
  fail-fast: false
27
30
  matrix:
28
- language: ['javascript', 'actions'] # Add languages used in your actions
31
+ include:
32
+ - language: actions
33
+ build-mode: none
34
+ - language: javascript-typescript
35
+ build-mode: none
29
36
 
30
37
  steps:
31
38
  - name: Checkout repository
32
39
  uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33
40
 
34
41
  - name: Initialize CodeQL
35
- uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
42
+ uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
36
43
  with:
37
44
  languages: ${{ matrix.language }}
45
+ build-mode: ${{ matrix.build-mode }}
38
46
  queries: security-and-quality
39
47
 
40
- - name: Autobuild
41
- uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
42
-
43
48
  - name: Perform CodeQL Analysis
44
- uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
49
+ uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
45
50
  with:
46
51
  category: '/language:${{matrix.language}}'
@@ -0,0 +1,54 @@
1
+ ---
2
+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3
+ name: Lint PR Code Base
4
+
5
+ on:
6
+ pull_request:
7
+ branches: [master, main]
8
+
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
+
13
+ permissions: read-all
14
+
15
+ env:
16
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
17
+ GITHUB_TOKEN: ${{ github.token }}
18
+
19
+ jobs:
20
+ Linter:
21
+ name: PR Lint
22
+ runs-on: ubuntu-latest
23
+ timeout-minutes: 15
24
+ permissions:
25
+ contents: read
26
+ issues: write
27
+ packages: read
28
+ pull-requests: write
29
+ statuses: write
30
+
31
+ steps:
32
+ - name: Checkout
33
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34
+ with:
35
+ token: ${{ secrets.GITHUB_TOKEN }}
36
+
37
+ - name: Install and enable corepack
38
+ shell: sh
39
+ run: npm install -g corepack --force && corepack enable
40
+
41
+ - name: Yarn Lock Changes
42
+ uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
43
+ with:
44
+ token: ${{ secrets.GITHUB_TOKEN }}
45
+ env:
46
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48
+
49
+ - name: Run PR Lint
50
+ # https://github.com/ivuorinen/actions
51
+ uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
52
+ env:
53
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -29,7 +29,7 @@ jobs:
29
29
  scope: '@ivuorinen'
30
30
 
31
31
  - name: Cache Node Modules
32
- uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
32
+ uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
33
33
  id: cache
34
34
  with:
35
35
  path: node_modules
@@ -45,6 +45,6 @@ jobs:
45
45
  run: yarn install
46
46
 
47
47
  - name: Yarn Lock Changes
48
- uses: Simek/yarn-lock-changes@61d1a0595070b79c1abdc8e1e5a5f5d98b18918c # v0.12.2
48
+ uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
49
49
  with:
50
50
  token: ${{ secrets.GITHUB_TOKEN }}
@@ -27,7 +27,7 @@ jobs:
27
27
  steps:
28
28
  - name: Run PR Lint
29
29
  # https://github.com/ivuorinen/actions
30
- uses: ivuorinen/actions/pr-lint@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
30
+ uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
31
31
 
32
32
  publish:
33
33
  name: Publish
@@ -59,7 +59,7 @@ jobs:
59
59
  run: npm install -g corepack --force && corepack enable
60
60
 
61
61
  - name: Cache Node Modules
62
- uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
62
+ uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
63
63
  id: cache
64
64
  with:
65
65
  path: node_modules
@@ -4,7 +4,7 @@ name: Stale
4
4
 
5
5
  on:
6
6
  schedule:
7
- - cron: '0 8 * * *' # Every day at 08:00
7
+ - cron: "0 8 * * *" # Every day at 08:00
8
8
  workflow_call:
9
9
  workflow_dispatch:
10
10
 
@@ -23,4 +23,4 @@ jobs:
23
23
  issues: write
24
24
  pull-requests: write
25
25
  steps:
26
- - uses: ivuorinen/actions/stale@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
26
+ - uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
@@ -0,0 +1,41 @@
1
+ ---
2
+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3
+ name: Sync Labels
4
+
5
+ on:
6
+ push:
7
+ branches:
8
+ - main
9
+ - master
10
+ paths:
11
+ - ".github/labels.yml"
12
+ - ".github/workflows/sync-labels.yml"
13
+ schedule:
14
+ - cron: "34 5 * * *" # Run every day at 05:34 AM UTC
15
+ workflow_call:
16
+ workflow_dispatch:
17
+ merge_group:
18
+
19
+ concurrency:
20
+ group: ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress: true
22
+
23
+ permissions: read-all
24
+
25
+ jobs:
26
+ labels:
27
+ name: ♻️ Sync Labels
28
+ runs-on: ubuntu-latest
29
+ timeout-minutes: 10
30
+
31
+ permissions:
32
+ contents: read
33
+ issues: write
34
+
35
+ steps:
36
+ - name: ⤵️ Checkout Repository
37
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38
+ with:
39
+ token: ${{ secrets.GITHUB_TOKEN }}
40
+ - name: ⤵️ Sync Latest Labels Definitions
41
+ uses: ivuorinen/actions/sync-labels@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 24.13.0
1
+ 24.14.0
package/.releaserc.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
- "extends": ["@ivuorinen/semantic-release-config"],
3
- "branches": ["main"]
2
+ "extends": [
3
+ "@ivuorinen/semantic-release-config"
4
+ ],
5
+ "branches": [
6
+ "main"
7
+ ]
4
8
  }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.2](https://github.com/ivuorinen/base-configs/compare/v1.0.1...v1.0.2) (2026-02-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
6
13
  ## [1.0.1](https://github.com/ivuorinen/base-configs/compare/v1.0.0...v1.0.1) (2026-01-30)
7
14
 
8
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivuorinen/base-configs",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "ivuorinen's shareable configurations meta package",
6
6
  "author": {
@@ -54,7 +54,7 @@
54
54
  "@ivuorinen/eslint-config": "^1.0.0",
55
55
  "@ivuorinen/markdownlint-config": "^1.0.1",
56
56
  "@ivuorinen/prettier-config": "^1.0.0",
57
- "@ivuorinen/semantic-release-config": "^1.1.0",
57
+ "@ivuorinen/semantic-release-config": "^1.1.1",
58
58
  "@types/node": "*",
59
59
  "npm-run-all2": "^8.0.4",
60
60
  "simple-git-hooks": "^2.13.1",