From 697e690e5ed7c1a7bf7a4343e55b4da334035777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Tue, 23 Jan 2024 20:32:41 +0100 Subject: [PATCH] chore: disable some workflows for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/codeql.yaml | 74 +++++++++++++++---------------- .github/workflows/tests.yaml | 82 +++++++++++++++++------------------ 2 files changed, 78 insertions(+), 78 deletions(-) diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index b03f772..0df65c1 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -1,44 +1,44 @@ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json -name: CodeQL +# name: CodeQL # permissions: {} -on: - pull_request: - branches: - - main - push: - branches: - - main +# on: +# pull_request: +# branches: +# - main +# push: +# branches: +# - main -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.ref }} +# cancel-in-progress: true -jobs: - required: - runs-on: ubuntu-latest - permissions: - security-events: write - steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - fetch-depth: 0 - - name: Run Trivy vulnerability scanner in repo mode - uses: aquasecurity/trivy-action@d43c1f16c00cfd3978dde6c07f4bbcf9eb6993ca # v0.16.1 - with: - scan-type: fs - ignore-unfixed: false - format: sarif - output: trivy-results.sarif - severity: CRITICAL,HIGH,MEDIUM - scanners: vuln,secret - exit-code: '0' - vuln-type: os,library - - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 - with: - sarif_file: trivy-results.sarif - category: code \ No newline at end of file +# jobs: +# required: +# runs-on: ubuntu-latest +# permissions: +# security-events: write +# steps: +# - name: Checkout +# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 +# with: +# fetch-depth: 0 +# - name: Run Trivy vulnerability scanner in repo mode +# uses: aquasecurity/trivy-action@d43c1f16c00cfd3978dde6c07f4bbcf9eb6993ca # v0.16.1 +# with: +# scan-type: fs +# ignore-unfixed: false +# format: sarif +# output: trivy-results.sarif +# severity: CRITICAL,HIGH,MEDIUM +# scanners: vuln,secret +# exit-code: '0' +# vuln-type: os,library +# - name: Upload Trivy scan results to GitHub Security tab +# uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 +# with: +# sarif_file: trivy-results.sarif +# category: code \ No newline at end of file diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b4ae091..430972c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,49 +1,49 @@ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json -name: Tests +# name: Tests # permissions: {} -on: - pull_request: - branches: - - main - push: - branches: - - main +# on: +# pull_request: +# branches: +# - main +# push: +# branches: +# - main -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true +# concurrency: +# group: ${{ github.workflow }}-${{ github.ref }} +# cancel-in-progress: true -jobs: - unit-tests: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 - with: - go-version-file: go.mod - cache-dependency-path: go.sum - # - name: Create test cluster - # run: | - # set -e - # make kind-cluster - - name: Run tests - run: | - set -e - make tests - - name: Upload Report to Codecov - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - file: ./coverage.out - fail_ci_if_error: true - verbose: true +# jobs: +# unit-tests: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 +# - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 +# with: +# go-version-file: go.mod +# cache-dependency-path: go.sum +# # - name: Create test cluster +# # run: | +# # set -e +# # make kind-cluster +# - name: Run tests +# run: | +# set -e +# make tests +# - name: Upload Report to Codecov +# uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 +# with: +# file: ./coverage.out +# fail_ci_if_error: true +# verbose: true - required: - needs: - - unit-tests - runs-on: ubuntu-latest - steps: - - run: echo "Required jobs success!" \ No newline at end of file +# required: +# needs: +# - unit-tests +# runs-on: ubuntu-latest +# steps: +# - run: echo "Required jobs success!" \ No newline at end of file