Skip to content

Commit

Permalink
ci: Updating workflow permissions as per step-security recommendation…
Browse files Browse the repository at this point in the history
…s. (#16036)

Signed-off-by: Vasil Boyadzhiev <[email protected]>
  • Loading branch information
san-est authored Oct 22, 2024
1 parent c97317a commit 11f878c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/node-zxcron-release-fsts-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ defaults:
env:
BRANCH_LIST_FILE: "${{ github.workspace }}/branches.lst"

permissions:
contents: read

jobs:
cron:
name: Cron / Launch Workflows
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/node-zxf-deploy-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on:
branches:
- develop

permissions:
contents: read

jobs:
jenkins-checks:
name: Build Artifact
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/platform-zxc-launch-jrs-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ on:
description: "The Github access token used to checkout the repository, submodules, and make GitHub API calls."
required: true

permissions:
contents: read

defaults:
run:
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/platform-zxcron-release-jrs-regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
- cron: '0 9 * * *'
workflow_dispatch:

permissions:
contents: read

defaults:
run:
shell: bash
Expand Down

0 comments on commit 11f878c

Please sign in to comment.