Skip to content

Commit

Permalink
chore: Inherit secrets for workflow calls (#7251)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier authored Jun 3, 2024
1 parent c8a469d commit f32f9c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-new-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 changes: 5 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -93,13 +91,7 @@
"/frontend/",
"/website/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
Expand Down Expand Up @@ -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"]
}
}

0 comments on commit f32f9c1

Please sign in to comment.