mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
ci: configure git user and email (#5284)
Set Git user and email in the CD workflow to correctly push new tags. Fix #5283
This commit is contained in:
parent
e85bf75ff6
commit
54514126f2
1 changed files with 3 additions and 0 deletions
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
|
@ -253,6 +253,9 @@ jobs:
|
|||
- name: Tag major, minor, and latest versions
|
||||
if: steps.release.outputs.release_created
|
||||
run: |
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "github-actions[bot]"
|
||||
|
||||
git tag --annotate --force ${{ env.SEMVER_MAJOR_VERSION }} -m "Release ${{ env.SEMVER_MAJOR_VERSION }}"
|
||||
git tag --annotate --force latest -m "Release latest (${{ env.RELEASE_VERSION }})"
|
||||
|
||||
|
|
Loading…
Reference in a new issue