Skip to content

Commit eaf3d87

Browse files
feeblefakieymorimobrfrn169
authored
Backport to branch(3.15) : Remove CR_PAT secret from vuln-check workflows (#2918)
Co-authored-by: Yusuke Morimoto <[email protected]> Co-authored-by: Toshihiro Suzuki <[email protected]>
1 parent 17c2efa commit eaf3d87

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

.github/workflows/manual-vuln-check.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ jobs:
1010
uses: ./.github/workflows/vuln-check.yaml
1111
with:
1212
target-ref: ${{ github.ref_name }}
13-
secrets:
14-
CR_PAT: ${{ secrets.CR_PAT }}

.github/workflows/scheduled-vuln-check.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,39 @@ jobs:
1313
with:
1414
target-ref: master
1515
secrets:
16-
CR_PAT: ${{ secrets.CR_PAT }}
1716
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}
1817

1918
call-vuln-check-for-v3_4:
2019
uses: ./.github/workflows/vuln-check.yaml
2120
with:
2221
target-ref: v3.4.9
2322
secrets:
24-
CR_PAT: ${{ secrets.CR_PAT }}
2523
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}
2624

2725
call-vuln-check-for-v3_5:
2826
uses: ./.github/workflows/vuln-check.yaml
2927
with:
3028
target-ref: v3.5.7
3129
secrets:
32-
CR_PAT: ${{ secrets.CR_PAT }}
3330
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}
3431

3532
call-vuln-check-for-v3_6:
3633
uses: ./.github/workflows/vuln-check.yaml
3734
with:
3835
target-ref: v3.6.4
3936
secrets:
40-
CR_PAT: ${{ secrets.CR_PAT }}
4137
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}
4238

4339
call-vuln-check-for-v3_7:
4440
uses: ./.github/workflows/vuln-check.yaml
4541
with:
4642
target-ref: v3.7.3
4743
secrets:
48-
CR_PAT: ${{ secrets.CR_PAT }}
4944
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}
5045

5146
call-vuln-check-for-v3_8:
5247
uses: ./.github/workflows/vuln-check.yaml
5348
with:
5449
target-ref: v3.8.0
5550
secrets:
56-
CR_PAT: ${{ secrets.CR_PAT }}
5751
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}

.github/workflows/vuln-check.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ on:
1414
type: boolean
1515
default: false
1616
secrets:
17-
CR_PAT:
18-
required: true
1917
SLACK_SECURITY_WEBHOOK_URL:
2018
required: false
2119

@@ -28,5 +26,4 @@ jobs:
2826
images: '[["ScalarDB Schema Loader", "scalardb-schema-loader"]]'
2927
version-command: "./gradlew :core:properties -q | grep version: | awk '{print $2}'"
3028
secrets:
31-
CR_PAT: ${{ secrets.CR_PAT }}
3229
SLACK_SECURITY_WEBHOOK_URL: ${{ secrets.SLACK_SECURITY_WEBHOOK_URL }}

0 commit comments

Comments
 (0)