Skip to content

Commit 71ef3cd

Browse files
authored
Merge pull request #288 from cipherstash/hot-fix-helm
fix(helm): PR_BYPASS specificlly pass secrets to lint job on release
2 parents 6e53f8c + 0d0d8fd commit 71ef3cd

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/lint-test-chart.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ on:
1010
paths:
1111
- 'charts/**'
1212
workflow_call:
13+
secrets:
14+
CS_WORKSPACE_CRN:
15+
required: true
16+
CS_CLIENT_ID:
17+
required: true
18+
CS_CLIENT_KEY:
19+
required: true
20+
CS_CLIENT_ACCESS_KEY:
21+
required: true
22+
CS_CI_DATABASE_HOST:
23+
required: true
24+
CS_CI_DATABASE_NAME:
25+
required: true
26+
CS_CI_DATABASE_USER:
27+
required: true
28+
CS_CI_DATABASE_PASSWORD:
29+
required: true
1330

1431
jobs:
1532
lint-test:

.github/workflows/release-chart.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ on:
1313
jobs:
1414
lint-test:
1515
uses: ./.github/workflows/lint-test-chart.yml
16+
secrets:
17+
CS_WORKSPACE_CRN: ${{ secrets.CS_WORKSPACE_CRN }}
18+
CS_CLIENT_ID: ${{ secrets.CS_CLIENT_ID }}
19+
CS_CLIENT_KEY: ${{ secrets.CS_CLIENT_KEY }}
20+
CS_CLIENT_ACCESS_KEY: ${{ secrets.CS_CLIENT_ACCESS_KEY }}
21+
CS_CI_DATABASE_HOST: ${{ secrets.CS_CI_DATABASE_HOST }}
22+
CS_CI_DATABASE_NAME: ${{ secrets.CS_CI_DATABASE_NAME }}
23+
CS_CI_DATABASE_USER: ${{ secrets.CS_CI_DATABASE_USER }}
24+
CS_CI_DATABASE_PASSWORD: ${{ secrets.CS_CI_DATABASE_PASSWORD }}
1625

1726
release:
1827
needs: lint-test

0 commit comments

Comments
 (0)