From b3a3a82b849b3c2f69641cdeca634a72ee6769f7 Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Tue, 28 May 2024 09:55:44 +0200 Subject: [PATCH] Codecov: remove token, turn off CI failure (#667) See also: https://github.com/netobserv/network-observability-console-plugin/pull/531 --- .github/workflows/greetings.yml | 15 --------------- .github/workflows/pull_request.yml | 8 ++------ 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml deleted file mode 100644 index 725aa23f9..000000000 --- a/.github/workflows/greetings.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: greetings - -on: [issues] - -jobs: - greeting: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/first-interaction@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Congratulations for contributing your first flowlogs-pipeline issue' diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index df5dbe521..b0a917fc8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,10 +1,8 @@ name: pull request - build and unit tests on: - push: - branches: [ main ] pull_request: - branches: [ main ] + branches: ['*'] jobs: unit-tests: @@ -32,10 +30,8 @@ jobs: - name: upload coverage to codecov.io if: ${{ matrix.go == '1.21' }} uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./cover.out flags: unittests - fail_ci_if_error: true + fail_ci_if_error: false verbose: true