From 5e8e9d8daf0308349f0dfdda1f6e5c9fad40dd5e Mon Sep 17 00:00:00 2001 From: Thijs van Loef Date: Wed, 21 Feb 2024 13:54:28 +0100 Subject: [PATCH] cleanup workflows --- .github/workflows/linting.yml | 19 +++---------------- .github/workflows/security.yml | 3 +++ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index d243e4484..c61d54a24 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -2,6 +2,9 @@ name: Linting on: # yamllint disable-line rule:truthy pull_request: + push: + branches: + - main run-name: Pull request - ${{ github.event.pull_request.number }} jobs: @@ -49,19 +52,3 @@ jobs: uses: ibiqlik/action-yamllint@v3 with: config_file: .yamllint.yml - - test-build: - name: Docker - Build - runs-on: ubuntu-latest - steps: - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Docker - Build - uses: docker/build-push-action@v5 - with: - push: false - platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 77d72de21..bfaf5b45b 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -5,6 +5,9 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: schedule: - cron: 0 0 * * * + push: + branches: + - main jobs: container-scanning: