Skip to content

Commit 41c015b

Browse files
authored
Explicitly set secrets (#73)
1 parent 7a9f3a6 commit 41c015b

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

.github/workflows/bump-dependencies.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
permissions:
99
contents: write
1010
id-token: write
11-
secrets: inherit
11+
secrets:
12+
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
13+
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
1214
uses: compulim/workflows/.github/workflows/bump-dependencies.yml@main
1315
with:
1416
package-name: react-chain-of-responsibility

.github/workflows/bump-scaffold.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ on:
2121

2222
jobs:
2323
call-workflow:
24-
secrets: inherit
24+
secrets:
25+
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
26+
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
2527
uses: compulim/workflows/.github/workflows/bump-scaffold.yml@main
2628
with:
2729
package-name: ${{ inputs.package-name }}

.github/workflows/continuous-deployment.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
contents: write
1616
id-token: write
1717
pages: write
18-
secrets: inherit
18+
secrets:
19+
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21+
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
1922
uses: compulim/workflows/.github/workflows/continuous-deployment.yml@main
2023
with:
2124
package-name: react-chain-of-responsibility

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
permissions:
1919
contents: write
2020
id-token: write
21-
secrets: inherit
21+
secrets:
22+
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
23+
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
2224
uses: compulim/workflows/.github/workflows/prepare-release.yml@main
2325
with:
2426
version-to-bump: ${{ inputs.version-to-bump }}

.github/workflows/publish-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
contents: write
1111
pages: write
1212
id-token: write
13-
secrets: inherit
13+
secrets:
14+
APP_ID: ${{ secrets.WORKFLOW_BOT_APP_ID }}
15+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
PRIVATE_KEY: ${{ secrets.WORKFLOW_BOT_PRIVATE_KEY }}
1417
uses: compulim/workflows/.github/workflows/publish-release.yml@main
1518
with:
1619
package-name: react-chain-of-responsibility

0 commit comments

Comments
 (0)