Skip to content

Commit

Permalink
Fix token permission code scanning alert (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk authored Dec 20, 2024
1 parent a012afa commit 0c2b9a9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/benchmark-go-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
benchmark:
name: Performance regression check
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/benchmark-go-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
benchmark:
name: Performance regression check
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
schedule:
- cron: '15 10 * * 1'

permissions:
contents: read

jobs:
analyze:
name: Analyze (${{ matrix.language }})
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
push:
branches: [ "main" ]

permissions:
contents: read

jobs:
analysis:
name: Scorecard analysis
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/terragrunt_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: 'Terragrunt format check'
on:
- pull_request

permissions:
contents: read

env:
tf_version: '1.5.7'
tg_version: '0.55.1'
Expand Down

0 comments on commit 0c2b9a9

Please sign in to comment.