mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: Inherit secrets for workflow calls (#7251)
Based on https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows
This commit is contained in:
parent
c8a469dec1
commit
f32f9c15c8
3
.github/workflows/publish-new-version.yaml
vendored
3
.github/workflows/publish-new-version.yaml
vendored
@ -113,12 +113,14 @@ jobs:
|
||||
publish-docker:
|
||||
needs: build
|
||||
uses: ./.github/workflows/docker_publish.yaml
|
||||
secrets: inherit
|
||||
with:
|
||||
version: ${{ github.event.inputs.version }}
|
||||
|
||||
publish-npm:
|
||||
needs: build
|
||||
uses: ./.github/workflows/release.yaml
|
||||
secrets: inherit
|
||||
with:
|
||||
version: ${{ github.event.inputs.version }}
|
||||
|
||||
@ -132,5 +134,6 @@ jobs:
|
||||
needs: publish-docker
|
||||
if: ${{ github.event.inputs.update-version-function == 'true' }}
|
||||
uses: ./.github/workflows/update_version_for_version_checker.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
version: ${{ github.event.inputs.version }}
|
||||
|
24
package.json
24
package.json
@ -82,9 +82,7 @@
|
||||
"testTimeout": 10000,
|
||||
"globalSetup": "./scripts/jest-setup.js",
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": [
|
||||
"@swc/jest"
|
||||
]
|
||||
"^.+\\.tsx?$": ["@swc/jest"]
|
||||
},
|
||||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
||||
"testPathIgnorePatterns": [
|
||||
@ -93,13 +91,7 @@
|
||||
"/frontend/",
|
||||
"/website/"
|
||||
],
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"jsx",
|
||||
"json"
|
||||
],
|
||||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
|
||||
"coveragePathIgnorePatterns": [
|
||||
"/node_modules/",
|
||||
"/dist/",
|
||||
@ -237,14 +229,8 @@
|
||||
"tough-cookie": "4.1.3"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts}": [
|
||||
"biome check --apply --no-errors-on-unmatched"
|
||||
],
|
||||
"*.{jsx,tsx}": [
|
||||
"biome check --apply --no-errors-on-unmatched"
|
||||
],
|
||||
"*.json": [
|
||||
"biome format --write --no-errors-on-unmatched"
|
||||
]
|
||||
"*.{js,ts}": ["biome check --apply --no-errors-on-unmatched"],
|
||||
"*.{jsx,tsx}": ["biome check --apply --no-errors-on-unmatched"],
|
||||
"*.json": ["biome format --write --no-errors-on-unmatched"]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user