File tree 1 file changed +33
-1
lines changed
1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 5
5
- cron : 5 0 * * 0
6
6
7
7
workflow_dispatch :
8
+ inputs :
9
+ id :
10
+ description : The ID of the job to run
11
+ required : true
12
+ default : all
13
+ type : choice
14
+ options :
15
+ - all
16
+ - acorn
17
+ - acorn-walk
18
+ - ada
19
+ - base64
20
+ - brotli
21
+ - c-ares
22
+ - cjs-module-lexer
23
+ - corepack
24
+ - doc
25
+ - eslint
26
+ - libuv
27
+ - lint-md-dependencies
28
+ - llhttp
29
+ - nghttp2
30
+ - nghttp3
31
+ - ngtcp2
32
+ - postject
33
+ - root-certificates
34
+ - simdutf
35
+ - undici
36
+ - uvwasi
8
37
9
38
permissions :
10
39
contents : read
@@ -208,16 +237,19 @@ jobs:
208
237
rm temp-output
209
238
steps :
210
239
- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
240
+ if : github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
211
241
with :
212
242
persist-credentials : false
213
243
- run : ${{ matrix.run }}
244
+ if : github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
214
245
env :
215
246
GITHUB_TOKEN : ${{ secrets.GH_USER_TOKEN }}
216
247
- name : Generate commit message if not set
217
- if : ${{ env.COMMIT_MSG == '' }}
248
+ if : env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id)
218
249
run : |
219
250
echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" >> "$GITHUB_ENV"
220
251
- uses : gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5
252
+ if : github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id
221
253
# Creates a PR or update the Action's existing PR, or
222
254
# no-op if the base branch is already up-to-date.
223
255
env :
You can’t perform that action at this time.
0 commit comments