mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
remove need for hard coded token (#9136)
This commit is contained in:
parent
991b578c30
commit
9f236f5ce9
8
.github/workflows/qc_checks.yaml
vendored
8
.github/workflows/qc_checks.yaml
vendored
@ -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:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
use_oidc: true
|
||||||
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:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
use_oidc: true
|
||||||
slug: inventree/InvenTree
|
slug: inventree/InvenTree
|
||||||
flags: migrations
|
flags: migrations
|
||||||
|
|
||||||
@ -615,12 +615,10 @@ 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:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
use_oidc: true
|
||||||
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
|
||||||
|
@ -43,9 +43,11 @@ export default defineConfig({
|
|||||||
requireEnv: true
|
requireEnv: true
|
||||||
}),
|
}),
|
||||||
codecovVitePlugin({
|
codecovVitePlugin({
|
||||||
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
|
enableBundleAnalysis: true,
|
||||||
bundleName: 'pui_v1',
|
bundleName: 'pui_v1',
|
||||||
uploadToken: process.env.CODECOV_TOKEN
|
oidc: {
|
||||||
|
useGitHubOIDC: true
|
||||||
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user