Skip to content

Commit fccd863

Browse files
committed
feat: security permissions for github action
1 parent 39f52a3 commit fccd863

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy-to-openshift-backend-dev.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ on:
4444
jobs:
4545
openshift-ci-cd:
4646
name: Build and deploy Backend to DEV
47+
permissions:
48+
contents: write
49+
packages: write
4750
runs-on: ubuntu-24.04
4851
environment: dev
4952

@@ -204,6 +207,8 @@ jobs:
204207
205208
zap:
206209
name: Run Zap Scan
210+
permissions:
211+
content: read
207212
needs: openshift-ci-cd
208213
runs-on: ubuntu-24.04
209214
environment: dev

0 commit comments

Comments
 (0)