Skip to content

Commit 313fa2d

Browse files
authored
Update deps (#54)
1 parent 1dde6b5 commit 313fa2d

File tree

7 files changed

+413
-446
lines changed

7 files changed

+413
-446
lines changed
Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2024 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Draft release'
162

173
on:
@@ -29,10 +15,8 @@ on:
2915

3016
jobs:
3117
draft-release:
32-
name: 'Draft release'
33-
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
3419
with:
3520
version_strategy: '${{ github.event.inputs.version_strategy }}'
36-
# 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
3721
secrets:
3822
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: 'Checkout'
19-
uses: 'actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' # ratchet:actions/checkout@v4
19+
uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
2020

2121
- name: 'Publish'
2222
id: 'publish'
23-
uses: 'actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53' # ratchet:actions/[email protected].3
23+
uses: 'actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978' # ratchet:actions/[email protected].4
2424
with:
2525
github-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/release.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2024 Google LLC
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
name: 'Release'
162

173
on:
@@ -22,10 +8,6 @@ on:
228

239
jobs:
2410
release:
25-
if: |-
26-
${{ startsWith(github.event.head_commit.message, 'Release: v') }}
27-
name: 'Release'
28-
uses: 'google-github-actions/.github/.github/workflows/release.yml@v1' # ratchet:exclude
29-
# 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
3012
secrets:
3113
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
id-token: 'write'
4343

4444
steps:
45-
- uses: 'actions/checkout@v4'
45+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
4646

47-
- uses: 'actions/setup-node@v4'
47+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
4848
with:
4949
node-version: '20.x'
5050

@@ -53,8 +53,8 @@ jobs:
5353

5454
- name: 'npm lint'
5555
run: 'npm run lint'
56-
57-
- uses: 'google-github-actions/auth@v2'
56+
57+
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
5858
with:
5959
workload_identity_provider: 'projects/251902844862/locations/global/workloadIdentityPools/github/providers/my-repo'
6060
service_account: 'iac-scan-plugins@iac-scan-integration-test.iam.gserviceaccount.com'
@@ -70,20 +70,20 @@ jobs:
7070

7171
env:
7272
ORGANIZATION_ID: '627849321070'
73-
73+
7474
steps:
75-
- uses: 'actions/checkout@v4'
75+
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # ratchet:actions/checkout@v4
7676

77-
- uses: 'actions/setup-node@v4'
77+
- uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # ratchet:actions/setup-node@v4
7878
with:
7979
node-version: '20.x'
8080

8181
- name: 'npm build'
8282
run: 'npm ci && npm run build'
8383

84-
- uses: 'google-github-actions/auth@v2'
84+
- uses: 'google-github-actions/auth@v2' # ratchet:exclude
8585
with:
86-
workload_identity_provider: 'projects/251902844862/locations/global/workloadIdentityPools/github/providers/my-repo'
86+
workload_identity_provider: 'projects/251902844862/locations/global/workloadIdentityPools/github/providers/my-repo'
8787
service_account: 'iac-scan-plugins@iac-scan-integration-test.iam.gserviceaccount.com'
8888

8989
- id: 'violations-found'
@@ -162,7 +162,7 @@ jobs:
162162
if [ "${{ steps.failure-criteria-satisfied-ignore-violations-true.outputs.iac_scan_result }}" != "failed" ]; then
163163
exit 1
164164
fi
165-
165+
166166
- id: 'action-internal-error'
167167
name: 'Action internal error'
168168
uses: './'
@@ -189,7 +189,7 @@ jobs:
189189
scan_file_ref: 'tests/resources/with-violations-tf_plan.json'
190190
iac_type: 'terraform'
191191
fail_silently: 'true'
192-
- name: Check scan result
192+
- name: Check scan result
193193
run: |
194194
if [ "${{ steps.action-internal-error-fail-silently-true.outputs.iac_scan_result }}" != "error" ]; then
195195
exit 1

dist/main/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)