Skip to content

Commit

Permalink
chore: Update release workflow to token auth on git checkout (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenjohnson authored Oct 7, 2024
1 parent cc38ee7 commit e72b70d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
with:
fetch-tags: true
fetch-depth: 0
token: ${{ secrets.GH_WBS_BOT_TOKEN }}

- uses: ./.github/actions/setup-environment
with:
Expand All @@ -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
Expand All @@ -69,5 +66,3 @@ jobs:
fi
./nx release $PROJECT_ARG $DRY_RUN_FLAG
env:
GH_WBS_BOT_TOKEN: ${{ secrets.GH_WBS_BOT_TOKEN }}

0 comments on commit e72b70d

Please sign in to comment.