From 8f74daa9b8c4190ff71a6a6932d9cebc971e5d96 Mon Sep 17 00:00:00 2001 From: Claudio Costa Date: Tue, 10 Jun 2025 00:37:04 -0600 Subject: [PATCH] [MM-62409] Fix webapp coverage upload for master runs (#31320) * Fix webapp coverage upload for master runs * Only pass codecov token * Update to trigger workflow --- .github/workflows/webapp-ci-master.yml | 2 ++ .github/workflows/webapp-ci-pr.yml | 3 ++- webapp/channels/jest.config.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/webapp-ci-master.yml b/.github/workflows/webapp-ci-master.yml index 96c8393f43..2b3cf77cd0 100644 --- a/.github/workflows/webapp-ci-master.yml +++ b/.github/workflows/webapp-ci-master.yml @@ -8,3 +8,5 @@ on: jobs: master-ci: uses: ./.github/workflows/webapp-ci-template.yml + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/webapp-ci-pr.yml b/.github/workflows/webapp-ci-pr.yml index 44f0fc57f1..91f6e1ce55 100644 --- a/.github/workflows/webapp-ci-pr.yml +++ b/.github/workflows/webapp-ci-pr.yml @@ -18,4 +18,5 @@ concurrency: jobs: pr-ci: uses: ./.github/workflows/webapp-ci-template.yml - secrets: inherit + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/webapp/channels/jest.config.js b/webapp/channels/jest.config.js index 6213444593..4bb107b664 100644 --- a/webapp/channels/jest.config.js +++ b/webapp/channels/jest.config.js @@ -12,7 +12,7 @@ const config = { ], coveragePathIgnorePatterns: [ '/node_modules/', - 'mattermost-redux/src/selectors/create_selector', + 'packages/mattermost-redux/src/selectors/create_selector', ], coverageReporters: ['lcov', 'text-summary'], fakeTimers: {