88 schedule :
99 - cron : " 0 0 * * *" # Run daily at midnight UTC
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 smoke :
1316 name : Smoke / ${{ matrix.os }} / Node ${{ matrix.node }}
@@ -20,15 +23,17 @@ jobs:
2023
2124 steps :
2225 - name : Checkout
23- uses : actions/checkout@v4
26+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
27+ with :
28+ persist-credentials : false
2429
2530 - name : Setup Node.js
26- uses : actions/setup-node@v4
31+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2732 with :
2833 node-version : ${{ matrix.node }}
2934
3035 - name : Install pnpm
31- uses : pnpm/action-setup@v4
36+ uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
3237
3338 - name : Install dependencies (monorepo)
3439 run : pnpm install
@@ -107,15 +112,17 @@ jobs:
107112
108113 steps :
109114 - name : Checkout
110- uses : actions/checkout@v4
115+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
116+ with :
117+ persist-credentials : false
111118
112119 - name : Setup Node.js
113- uses : actions/setup-node@v4
120+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
114121 with :
115122 node-version : 22
116123
117124 - name : Install pnpm
118- uses : pnpm/action-setup@v4
125+ uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
119126
120127 - name : Install dependencies
121128 run : pnpm install
@@ -132,7 +139,7 @@ jobs:
132139 github.event_name == 'schedule'
133140 steps :
134141 - name : Notify Slack
135- uses : slackapi/slack-github-action@v2.1.0
142+ uses : slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
136143 with :
137144 webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
138145 webhook-type : incoming-webhook
0 commit comments