mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
[bitnami/containers] Revisit workflow permissions (#36685)
* [bitnami/containers] Revisit workflow permissions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> --------- Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
6
.github/workflows/srp-report.yml
vendored
6
.github/workflows/srp-report.yml
vendored
@@ -3,7 +3,8 @@ on:
|
||||
schedule:
|
||||
- cron: '0 7 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
# Remove all permissions by default
|
||||
permissions: {}
|
||||
env:
|
||||
BAC_SRP_ENDPOINT: https://apigw.vmware.com/v1/s1/api/helix-beta
|
||||
BAC_SRP_CLIENT_ID: ${{ secrets.BAC_SRP_CLIENT_ID }}
|
||||
@@ -12,6 +13,9 @@ env:
|
||||
jobs:
|
||||
report:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
contents: read
|
||||
steps:
|
||||
- id: install-tool
|
||||
name: Install and configure SRP Tool
|
||||
|
||||
Reference in New Issue
Block a user