From 5a5bd98b5aa52f138ffa09a54d168728960b2bae Mon Sep 17 00:00:00 2001 From: lwih Date: Fri, 19 Jan 2024 17:34:32 +0100 Subject: [PATCH] CI - restore jobs --- .github/workflows/build-and-test-backend.yml | 1 - .github/workflows/build-and-test-frontend.yml | 8 ++++---- .github/workflows/codeql.yml | 8 ++++---- .github/workflows/dependency-review.yml | 4 +++- .github/workflows/sonarcloud.yml | 6 +++--- .github/workflows/trivy.yml | 5 ++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-test-backend.yml b/.github/workflows/build-and-test-backend.yml index 883101f4..779a5061 100644 --- a/.github/workflows/build-and-test-backend.yml +++ b/.github/workflows/build-and-test-backend.yml @@ -38,7 +38,6 @@ jobs: with: gradle-version: wrapper dependency-graph: generate-and-submit - add-job-summary-as-pr-comment: on-failure - name: build and test run: make back-build diff --git a/.github/workflows/build-and-test-frontend.yml b/.github/workflows/build-and-test-frontend.yml index 6582de19..fe99d202 100644 --- a/.github/workflows/build-and-test-frontend.yml +++ b/.github/workflows/build-and-test-frontend.yml @@ -1,10 +1,10 @@ name: "[Build & Test] Frontend" on: - # push: - # branches: [ "main" ] - # pull_request: - # branches: [ "main" ] + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] workflow_dispatch: schedule: - cron: "0 3 * * *" # 3am every night diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 812a8a33..a6a48d53 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -12,10 +12,10 @@ name: "[Analyse] CodeQL" on: - # push: - # branches: ["main"] - # pull_request: - # branches: [ "main" ] + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] schedule: - cron: "0 3 * * *" # 3am every night diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index fd59a830..2ec3c327 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -5,7 +5,9 @@ # Source repository: https://github.com/actions/dependency-review-action # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement name: '[Analyse] Dependency Review' -on: [ pull_request ] +on: + pull_request: + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 9a69f6cf..b0f827ca 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -31,9 +31,9 @@ name: "[Analyse] SonarCloud" on: # push: # branches: [ "main" ] - # pull_request: - # branches: [ "main" ] - # types: [ opened, synchronize, reopened ] + pull_request: + branches: [ "main" ] + types: [ opened, synchronize, reopened ] schedule: - cron: "0 3 * * *" # 3am every night workflow_dispatch: diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 80d3d0c1..26b49f98 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -8,9 +8,8 @@ name: "[Analyse] Trivy" on: # push: # branches: [ "main" ] - # pull_request: - # # The branches below must be a subset of the branches above - # branches: [ "main" ] + pull_request: + branches: [ "main" ] workflow_dispatch: schedule: - cron: "0 3 * * *" # 3am every night