Skip to content

Commit 8d18e49

Browse files
Merge pull request #1 from karimshaban01/alert-autofix-1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
2 parents 2f6f884 + 1e8fbe9 commit 8d18e49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/openshift.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
name: Build and deploy to OpenShift
8080
runs-on: ubuntu-latest
8181
environment: production
82+
permissions:
83+
contents: read
84+
packages: write
85+
id-token: write
8286

8387
outputs:
8488
ROUTE: ${{ steps.deploy-and-expose.outputs.route }}

0 commit comments

Comments
 (0)