Skip to content

Commit 3659429

Browse files
authored
chore: improved scorecard (#38)
1 parent cda24d5 commit 3659429

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22
on: [push, pull_request]
33

4+
permissions: read-all
5+
46
jobs:
57
test:
68
runs-on: ubuntu-latest

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- cron: '0 8 * * 1'
1010
workflow_dispatch:
1111

12+
permissions: read-all
13+
1214
jobs:
1315
analyze:
1416
name: Analyze

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- 'package.json'
99
- '!.changeset/**'
1010

11+
permissions: read-all
12+
1113
jobs:
1214
check-version:
1315
name: Check if version changed
@@ -16,7 +18,7 @@ jobs:
1618
changed: ${{ steps.check.outputs.changed }}
1719
steps:
1820
- name: Checkout
19-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2022
with:
2123
fetch-depth: 2
2224

@@ -42,10 +44,10 @@ jobs:
4244
attestations: write
4345
steps:
4446
- name: Checkout
45-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
47+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4648

4749
- name: Setup Node.js
48-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
50+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
4951
with:
5052
node-version: 24
5153
cache: npm
@@ -60,7 +62,7 @@ jobs:
6062
run: npm run test:ci
6163

6264
- name: Setup Node.js for publish
63-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
65+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6466
with:
6567
node-version: 24
6668
registry-url: 'https://registry.npmjs.org'
@@ -83,7 +85,7 @@ jobs:
8385
8486
- name: Create GitHub Release
8587
id: release
86-
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
88+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3
8789
with:
8890
tag_name: v${{ steps.package.outputs.version }}
8991
generate_release_notes: true

.github/workflows/version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

10+
permissions: read-all
11+
1012
jobs:
1113
version:
1214
name: Create Version PR

0 commit comments

Comments
 (0)