Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Give read permissions to all remaining GA workflows
Browse files Browse the repository at this point in the history
This commit is used to address token vulnerabilities
found through the OSSF code scanner
The following GA workflows were updated:
- checkout-cno-ci-repo-job
- checkout-tas-repo-job
- bm-job-exit-trigger
  • Loading branch information
madalazar committed Mar 6, 2024
1 parent e02f456 commit e326349
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bm-job-exit-trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ on:
description: "CNO-CI branch name"
value: ${{ jobs.exit-trigger.outputs.cno-ci-branch-name }}

permissions:
contents: read

jobs:
exit-trigger:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checkout-cno-ci-repo-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
required: true
description: 'Token required to access the CNO-CI repo'

permissions:
contents: read

jobs:
pull-ci:
name: Pull ansible based scripts
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checkout-tas-repo-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
pull-tas:
name: Pull TAS code
Expand Down

0 comments on commit e326349

Please sign in to comment.