Skip to content

Commit

Permalink
chore: fix checkov workflow findings
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenMakandra authored and moritz-makandra committed Nov 21, 2024
1 parent 40f71d8 commit 4b3ddb8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/checkov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: read-all
permissions:
contents: read
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results

jobs:
scan:
permissions:
contents: read
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: Conventional Commits

on:
pull_request:
permissions:
contents: read

jobs:
conventional-commits:
name: Conventional Commits
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: "Semantic-Release"
on:
push:
branches:
- master
- main
permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Tflint
on:
pull_request:

permissions:
contents: read

jobs:
tflint:
permissions:
contents: read
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 4b3ddb8

Please sign in to comment.