2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Revert "remove need for hard coded token (#9136)" (#9177)

This reverts commit 9f236f5ce9866513354a9e5e138507a9d7151b09.
This commit is contained in:
Matthias Mair 2025-02-25 10:44:14 +01:00 committed by GitHub
parent 9f236f5ce9
commit 89c5148873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -340,7 +340,7 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1 uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1
if: always() if: always()
with: with:
use_oidc: true token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree slug: inventree/InvenTree
flags: backend flags: backend
@ -483,7 +483,7 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1 uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1
if: always() if: always()
with: with:
use_oidc: true token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree slug: inventree/InvenTree
flags: migrations flags: migrations
@ -615,10 +615,12 @@ jobs:
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1 uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@v5.3.1
if: always() if: always()
with: with:
use_oidc: true token: ${{ secrets.CODECOV_TOKEN }}
slug: inventree/InvenTree slug: inventree/InvenTree
flags: pui flags: pui
- name: Upload bundler info - name: Upload bundler info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: | run: |
cd src/frontend cd src/frontend
yarn install yarn install

View File

@ -43,11 +43,9 @@ export default defineConfig({
requireEnv: true requireEnv: true
}), }),
codecovVitePlugin({ codecovVitePlugin({
enableBundleAnalysis: true, enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
bundleName: 'pui_v1', bundleName: 'pui_v1',
oidc: { uploadToken: process.env.CODECOV_TOKEN
useGitHubOIDC: true
}
}) })
], ],
build: { build: {