Skip to content

Commit

Permalink
Revert "remove need for hard coded token (#9136)" (#9177)
Browse files Browse the repository at this point in the history
This reverts commit 9f236f5.
  • Loading branch information
matmair authored Feb 25, 2025
1 parent 9f236f5 commit 89c5148
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/qc_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # [email protected]
if: always()
with:
use_oidc: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree
flags: backend

Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # [email protected]
if: always()
with:
use_oidc: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree
flags: migrations

Expand Down Expand Up @@ -615,10 +615,12 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # [email protected]
if: always()
with:
use_oidc: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree
flags: pui
- name: Upload bundler info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
cd src/frontend
yarn install
Expand Down
6 changes: 2 additions & 4 deletions src/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ export default defineConfig({
requireEnv: true
}),
codecovVitePlugin({
enableBundleAnalysis: true,
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
bundleName: 'pui_v1',
oidc: {
useGitHubOIDC: true
}
uploadToken: process.env.CODECOV_TOKEN
})
],
build: {
Expand Down

0 comments on commit 89c5148

Please sign in to comment.