Skip to content

Commit 6b9287d

Browse files
Bump actions/checkout from 6.0.3 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@df4cb1c...3d3c42e) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 33bb597 commit 6b9287d

3 files changed

Lines changed: 207 additions & 207 deletions

File tree

.github/workflows/ci.yml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
1-
name: CI
2-
3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
8-
# Least privilege: this workflow only needs to read the repo.
9-
permissions:
10-
contents: read
11-
12-
# Cancel superseded runs for the same ref to save CI minutes.
13-
concurrency:
14-
group: ci-${{ github.ref }}
15-
cancel-in-progress: true
16-
17-
jobs:
18-
check:
19-
runs-on: ubuntu-latest
20-
strategy:
21-
# Test the oldest Node we claim to support (package.json engines)
22-
# alongside current, so "works on my machine" can't hide an engines
23-
# violation.
24-
matrix:
25-
node-version: [22, 24]
26-
steps:
27-
# Actions are pinned to commit SHAs (supply-chain hardening); the
28-
# trailing comment records the human-readable version. v6 runs on the
29-
# Node 24 action runtime, clearing the Node 20 deprecation warning.
30-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
31-
with:
32-
# No step here pushes or calls the API; don't leave the token in
33-
# .git/config for the rest of the job.
34-
persist-credentials: false
35-
36-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
37-
with:
38-
node-version: ${{ matrix.node-version }}
39-
cache: npm
40-
41-
- run: npm ci
42-
43-
- name: Validate manifest.json parses
44-
run: node -e "JSON.parse(require('fs').readFileSync('manifest.json','utf8'))"
45-
46-
- run: npm run lint
47-
48-
- run: npm run format:check
49-
50-
- run: npm run typecheck
51-
52-
- run: npm run coverage
53-
54-
- run: npm run build
55-
56-
# Merge gate: branch protection requires a single status named "check".
57-
# Reporting that name from an aggregate job (instead of the matrix legs,
58-
# whose names carry the Node version) keeps the required-check name
59-
# stable no matter how the matrix changes.
60-
ci-ok:
61-
name: check
62-
needs: check
63-
if: always()
64-
runs-on: ubuntu-latest
65-
steps:
66-
- name: Fail unless every matrix leg succeeded
67-
run: test "${{ needs.check.result }}" = "success"
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
# Least privilege: this workflow only needs to read the repo.
9+
permissions:
10+
contents: read
11+
12+
# Cancel superseded runs for the same ref to save CI minutes.
13+
concurrency:
14+
group: ci-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
check:
19+
runs-on: ubuntu-latest
20+
strategy:
21+
# Test the oldest Node we claim to support (package.json engines)
22+
# alongside current, so "works on my machine" can't hide an engines
23+
# violation.
24+
matrix:
25+
node-version: [22, 24]
26+
steps:
27+
# Actions are pinned to commit SHAs (supply-chain hardening); the
28+
# trailing comment records the human-readable version. v6 runs on the
29+
# Node 24 action runtime, clearing the Node 20 deprecation warning.
30+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
31+
with:
32+
# No step here pushes or calls the API; don't leave the token in
33+
# .git/config for the rest of the job.
34+
persist-credentials: false
35+
36+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
cache: npm
40+
41+
- run: npm ci
42+
43+
- name: Validate manifest.json parses
44+
run: node -e "JSON.parse(require('fs').readFileSync('manifest.json','utf8'))"
45+
46+
- run: npm run lint
47+
48+
- run: npm run format:check
49+
50+
- run: npm run typecheck
51+
52+
- run: npm run coverage
53+
54+
- run: npm run build
55+
56+
# Merge gate: branch protection requires a single status named "check".
57+
# Reporting that name from an aggregate job (instead of the matrix legs,
58+
# whose names carry the Node version) keeps the required-check name
59+
# stable no matter how the matrix changes.
60+
ci-ok:
61+
name: check
62+
needs: check
63+
if: always()
64+
runs-on: ubuntu-latest
65+
steps:
66+
- name: Fail unless every matrix leg succeeded
67+
run: test "${{ needs.check.result }}" = "success"

.github/workflows/codeql.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
name: CodeQL
2-
3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
8-
schedule:
9-
# Weekly scan to catch advisories in code that hasn't changed.
10-
- cron: "27 4 * * 1"
11-
12-
permissions:
13-
contents: read
14-
15-
jobs:
16-
analyze:
17-
name: Analyze
18-
runs-on: ubuntu-latest
19-
permissions:
20-
# Required for CodeQL to upload results to code scanning.
21-
security-events: write
22-
actions: read
23-
contents: read
24-
strategy:
25-
fail-fast: false
26-
matrix:
27-
language: [javascript-typescript]
28-
steps:
29-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
30-
31-
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@84498526a009a99c875e83ef4821a8ba52de7c22 # codeql-bundle-v2.25.5
33-
with:
34-
languages: ${{ matrix.language }}
35-
# Static assets only; no compiled languages to build.
36-
build-mode: none
37-
38-
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@84498526a009a99c875e83ef4821a8ba52de7c22 # codeql-bundle-v2.25.5
40-
with:
41-
category: "/language:${{ matrix.language }}"
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
# Weekly scan to catch advisories in code that hasn't changed.
10+
- cron: "27 4 * * 1"
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
analyze:
17+
name: Analyze
18+
runs-on: ubuntu-latest
19+
permissions:
20+
# Required for CodeQL to upload results to code scanning.
21+
security-events: write
22+
actions: read
23+
contents: read
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
language: [javascript-typescript]
28+
steps:
29+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30+
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@84498526a009a99c875e83ef4821a8ba52de7c22 # codeql-bundle-v2.25.5
33+
with:
34+
languages: ${{ matrix.language }}
35+
# Static assets only; no compiled languages to build.
36+
build-mode: none
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@84498526a009a99c875e83ef4821a8ba52de7c22 # codeql-bundle-v2.25.5
40+
with:
41+
category: "/language:${{ matrix.language }}"

0 commit comments

Comments
 (0)