File tree Expand file tree Collapse file tree 8 files changed +470
-434
lines changed Expand file tree Collapse file tree 8 files changed +470
-434
lines changed Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
draft-release :
18
- name : ' Draft release'
19
- uses : ' google-github-actions/.github/.github/workflows/draft-release.yml@v0'
18
+ uses : ' google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
20
19
with :
21
20
version_strategy : ' ${{ github.event.inputs.version_strategy }}'
22
- # secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
23
21
secrets :
24
22
ACTIONS_BOT_TOKEN : ' ${{ secrets.ACTIONS_BOT_TOKEN }}'
Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ jobs:
24
24
runs-on : ' ubuntu-latest'
25
25
26
26
steps :
27
- - uses : ' actions/checkout@v4 '
27
+ - uses : ' actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 ' # ratchet:actions/checkout@v4
28
28
29
- - uses : ' actions/setup-node@v4 '
29
+ - uses : ' actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a ' # ratchet:actions/setup-node@v4
30
30
with :
31
31
node-version : ' 20.x'
32
32
33
33
- name : ' npm build'
34
34
run : ' npm ci && npm run build'
35
35
36
- - uses : ' google-github-actions/auth@v2'
36
+ - uses : ' google-github-actions/auth@v2' # ratchet:exclude
37
37
with :
38
38
workload_identity_provider : ' ${{ vars.WIF_PROVIDER_NAME }}'
39
39
service_account : ' ${{ vars.SERVICE_ACCOUNT_EMAIL }}'
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
16
16
17
17
steps :
18
18
- name : ' Checkout'
19
- uses : ' actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 ' # ratchet:actions/checkout@v4
19
+ uses : ' actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 ' # ratchet:actions/checkout@v4
20
20
21
21
- name : ' Publish'
22
22
id : ' publish'
23
- uses : ' actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53 ' # ratchet:actions/publish-immutable-action@v0.0.3
23
+ uses : ' actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 ' # ratchet:actions/publish-immutable-action@v0.0.4
24
24
with :
25
25
github-token : ' ${{ secrets.GITHUB_TOKEN }}'
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
release :
11
- if : |-
12
- ${{ startsWith(github.event.head_commit.message, 'Release: v') }}
13
- name : ' Release'
14
- uses : ' google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
15
- # secrets must be explicitly passed to reusable workflows https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows\#using-inputs-and-secrets-in-a-reusable-workflow
11
+ uses : ' google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude
16
12
secrets :
17
13
ACTIONS_BOT_TOKEN : ' ${{ secrets.ACTIONS_BOT_TOKEN }}'
Original file line number Diff line number Diff line change 32
32
- ' macos-latest'
33
33
34
34
steps :
35
- - uses : ' actions/checkout@v4 '
35
+ - uses : ' actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 ' # ratchet:actions/checkout@v4
36
36
37
- - uses : ' actions/setup-node@v4 '
37
+ - uses : ' actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a ' # ratchet:actions/setup-node@v4
38
38
with :
39
39
node-version : ' 20.12.x' # https://github.com/nodejs/node/issues/53033
40
40
49
49
50
50
# Only authenticate if this is a full CI run.
51
51
- if : ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }}
52
- uses : ' google-github-actions/auth@v2'
52
+ uses : ' google-github-actions/auth@v2' # ratchet:exclude
53
53
with :
54
54
workload_identity_provider : ' ${{ vars.WIF_PROVIDER_NAME }}'
55
55
service_account : ' ${{ vars.SERVICE_ACCOUNT_EMAIL }}'
You can’t perform that action at this time.
0 commit comments