From 4922e3700f086848a4e91d36c33d0a0450702a15 Mon Sep 17 00:00:00 2001 From: Florian Aucomte <33633200+faucomte97@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:16:39 +0000 Subject: [PATCH] ci: Replace Razbot with CFLbot (#2244) * ci: Replace Razbot with CFLbot * Disable codecov comments --- .codecov.yml | 9 +-------- .github/workflows/publish-python-package.yml | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 50a83045d..2e60774f8 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -21,11 +21,4 @@ ignore: - "cfl_common/common/app_settings.py" - "cfl_common/common/csp_config.py" -comment: - layout: "reach, diff, flags, files" - behavior: new - require_changes: false - require_base: no - require_head: yes - branches: - - "!master" +comment: false diff --git a/.github/workflows/publish-python-package.yml b/.github/workflows/publish-python-package.yml index d4842f2a7..7791c2c43 100644 --- a/.github/workflows/publish-python-package.yml +++ b/.github/workflows/publish-python-package.yml @@ -38,7 +38,7 @@ jobs: - name: Release codeforlife-portal uses: relekang/python-semantic-release@v7.34.6 with: - github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} + github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }} continue-on-error: true - name: Build cfl-common package @@ -57,7 +57,7 @@ jobs: - name: Trigger staging deployment uses: actions/github-script@v6 with: - github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} + github-token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }} script: | github.rest.actions.createWorkflowDispatch({ owner: 'ocadotechnology',