mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
[bitnami/charts] Reduce CSP_API_TOKEN exposure (#21273)
Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
8
.github/workflows/cd-pipeline.yml
vendored
8
.github/workflows/cd-pipeline.yml
vendored
@@ -11,10 +11,6 @@ on: # rebuild any PRs and main branch changes
|
||||
- '!**.md'
|
||||
# Remove all permissions by default.
|
||||
permissions: {}
|
||||
env:
|
||||
CSP_API_URL: https://console.cloud.vmware.com
|
||||
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
|
||||
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
|
||||
jobs:
|
||||
get-chart:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -70,6 +66,10 @@ jobs:
|
||||
name: VIB Publish
|
||||
permissions:
|
||||
contents: read
|
||||
env:
|
||||
CSP_API_URL: https://console.cloud.vmware.com
|
||||
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
|
||||
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
|
||||
steps:
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
name: Checkout Repository
|
||||
|
||||
Reference in New Issue
Block a user