Skip to content

Commit aadc7a6

Browse files
fix: environment for npm publish (#1202)
Adds the environment for NPM publish step of the pipeline to the correct job. Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
1 parent dae36bb commit aadc7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
name: Run Release Please
66
jobs:
77
release-please:
8-
environment: publish
98
runs-on: ubuntu-latest
109

1110
# Release-please creates a PR that tracks all changes
@@ -55,6 +54,7 @@ jobs:
5554
needs: release-please
5655
runs-on: ubuntu-latest
5756
if: ${{ needs.release-please.outputs.release_created }}
57+
environment: publish
5858
permissions:
5959
id-token: write
6060
contents: write

0 commit comments

Comments
 (0)