Skip to content

Commit

Permalink
chore: split workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavbebej committed Mar 1, 2024
1 parent adc5218 commit 85c254b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 21 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
pull_request:
push:
branches:
- master

permissions:
contents: read
security-events: write

name: checkov

jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Checkov
uses: bridgecrewio/checkov-action@v12
with:
soft_fail: true

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
if: success() || failure()
with:
sarif_file: results.sarif
22 changes: 1 addition & 21 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
on:
pull_request:
branches:
- master
push:
branches:
- master

permissions:
contents: write
pull-requests: write
security-events: write

name: release-please

jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Checkov
uses: bridgecrewio/checkov-action@v12
with:
soft_fail: true

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
if: success() || failure()
with:
sarif_file: results.sarif

release:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
Expand Down

0 comments on commit 85c254b

Please sign in to comment.