forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github): update publishing workflows to use github.repository_owner
Primary Changes ---------------- 1. Updated publishing workflows to use gitHub.repository_owner variable Fixes hyperledger-cacti#3597 Signed-off-by: adrianbatuto <[email protected]>
- Loading branch information
1 parent
09f0fcf
commit 80c32e0
Showing
2 changed files
with
1 addition
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,8 +62,6 @@ jobs: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_CONFIG_PROVENANCE: true | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "hyperledger-ghci" | ||
npm whoami | ||
yarn lerna publish from-git --yes --loglevel=debug --ignore-scripts | ||
|
@@ -98,7 +96,7 @@ jobs: | |
|
||
- name: Configure git user and email | ||
run: | | ||
git config --global user.email "npm-ci@hyperledger.org" | ||
git config --global user.email "npm-ci@${{ github.repository_owner }}.org" | ||
git config --global user.name "hyperledger-ghci" | ||
# We run the publish script a second time after having reconfigured the registry to be GHCR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,5 @@ jobs: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_CONFIG_PROVENANCE: true | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "hyperledger-ghci" | ||
npm whoami | ||
yarn lerna publish from-git --yes --loglevel=debug |