Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

ci: cleanup security checks #1492

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/merge-to-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,11 @@ jobs:
security-scan:
name: Security vulnerability scan
runs-on: ubuntu-20.04
needs: ["release"]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Wait for push
uses: lewagon/wait-on-check-action@e106e5c43e8ca1edea6383a39a01c5ca495fd812
with:
ref: ${{ github.ref }}
check-name: "Release operator on Quay.io"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 60

- name: Extract operator image ref
id: operator-image-ref
run: |
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/merge-to-release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,11 @@ jobs:
security-scan:
name: Security vulnerability scan
runs-on: ubuntu-20.04
needs: ["release"]
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Wait for push
uses: lewagon/wait-on-check-action@e106e5c43e8ca1edea6383a39a01c5ca495fd812
with:
ref: ${{ github.ref }}
check-name: "Release operator on Quay.io"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 60

- name: Extract operator image ref
id: operator-image-ref
run: |
Expand All @@ -102,4 +95,4 @@ jobs:
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'trivy-results.sarif'
4 changes: 0 additions & 4 deletions .github/workflows/periodic-security-check.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
on:
push:
branch:
- master
- 'release-v**.x'
schedule:
- cron: '0 0 * * *'

Expand Down
Loading