Skip to content

Commit

Permalink
configure git identity
Browse files Browse the repository at this point in the history
  • Loading branch information
sTomerG committed Dec 13, 2024
1 parent 704d118 commit 0c87575
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Configure Git identity
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
- name: Create and push release branch
env:
GITHUB_TOKEN: ${{ github.token }}
run:
| # rm --cached .github/workflows/* is nodig omdat deze workflow geen 'nieuwe' workflows mag aanmaken
# Remove 'v' prefix from tag name to create branch name
BRANCH_NAME="release/${GITHUB_REF_NAME}"
git checkout -b "$BRANCH_NAME"
git rm --cached .github/workflows/*
Expand Down

0 comments on commit 0c87575

Please sign in to comment.