-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update release workflow to token auth on git checkout (#788)
- Loading branch information
1 parent
cc38ee7
commit e72b70d
Showing
1 changed file
with
1 addition
and
6 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 |
---|---|---|
|
@@ -36,6 +36,7 @@ jobs: | |
with: | ||
fetch-tags: true | ||
fetch-depth: 0 | ||
token: ${{ secrets.GH_WBS_BOT_TOKEN }} | ||
|
||
- uses: ./.github/actions/setup-environment | ||
with: | ||
|
@@ -52,10 +53,6 @@ jobs: | |
set -e # abort on error | ||
set -x # show commands | ||
git config --global user.name 'wikibase suite github actions bot' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://wikibase-suite-bot:[email protected]/${{ github.repository }} | ||
if [ "${{ inputs.dry_run }}" == "true" ]; then | ||
DRY_RUN_FLAG="--dry-run" | ||
else | ||
|
@@ -69,5 +66,3 @@ jobs: | |
fi | ||
./nx release $PROJECT_ARG $DRY_RUN_FLAG | ||
env: | ||
GH_WBS_BOT_TOKEN: ${{ secrets.GH_WBS_BOT_TOKEN }} |