File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Pinact
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["**"]
8+ paths :
9+ - " .github/workflows/**"
10+ - " .github/actions/**"
11+
12+ permissions : {}
13+
14+ jobs :
15+ pinact :
16+ # Only run on pull requests from the same repository
17+ if : github.event.pull_request.head.repo.full_name == github.repository
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+ with :
23+ persist-credentials : false
24+
25+ - name : Pin actions
26+ uses : suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0
27+ with :
28+ skip_push : true
29+ verify : true
30+ min_age : 7
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
2222 CI : true
2323 steps :
2424 - name : Checkout repo
25- uses : actions/checkout@v4
25+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2626
2727 - name : Set up Node.js
28- uses : labd/gh-actions-typescript/pnpm-install@main
28+ uses : labd/gh-actions-typescript/pnpm-install@e7a21fb56b52bf2d91616e34f0bc3f4f9a821b62 # main
2929 with :
3030 node-version : ${{ matrix.node }}
3131
@@ -45,16 +45,16 @@ jobs:
4545 needs : validate
4646 steps :
4747 - name : Checkout repo
48- uses : actions/checkout@v4
48+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4949
5050 - name : Set up Node.js
51- uses : labd/gh-actions-typescript/pnpm-install@main
51+ uses : labd/gh-actions-typescript/pnpm-install@e7a21fb56b52bf2d91616e34f0bc3f4f9a821b62 # main
5252
5353 - name : Run build
5454 run : pnpm build
5555
5656 - name : Create and publish versions
57- uses : changesets/action@v1
57+ uses : changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
5858 with :
5959 title : " Release new version"
6060 commit : " update version"
Original file line number Diff line number Diff line change 1+ name : Zizmor
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ branches : ["**"]
8+ paths :
9+ - " .github/workflows/**"
10+ - " .github/actions/**"
11+
12+ permissions : {}
13+
14+ jobs :
15+ zizmor :
16+ name : Run zizmor
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : read
20+ actions : read
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+ with :
25+ persist-credentials : false
26+
27+ - name : Run zizmor
28+ uses : zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
29+ with :
30+ advanced-security : false
31+ annotations : true
32+ min-severity : high
You can’t perform that action at this time.
0 commit comments