mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
ci(workflows): configure git user for release workflows (#3311)
This commit is contained in:
parent
7c70b7faee
commit
be6dbd565d
2 changed files with 12 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ jobs:
|
||||||
echo "DRY RUN: Would create tag ${{ steps.tag.outputs.internal_tag }} pointing to $(git rev-parse HEAD)"
|
echo "DRY RUN: Would create tag ${{ steps.tag.outputs.internal_tag }} pointing to $(git rev-parse HEAD)"
|
||||||
git log -5 --oneline
|
git log -5 --oneline
|
||||||
|
|
||||||
|
- name: Configure Git User
|
||||||
|
if: ${{ inputs.dry_run != 'true' }}
|
||||||
|
run: |
|
||||||
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
|
||||||
- name: Create and Push Tag
|
- name: Create and Push Tag
|
||||||
if: ${{ inputs.dry_run != 'true' }}
|
if: ${{ inputs.dry_run != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
6
.github/workflows/promote-release.yml
vendored
6
.github/workflows/promote-release.yml
vendored
|
|
@ -171,6 +171,12 @@ jobs:
|
||||||
echo "Current stage: ${{ steps.current.outputs.current_stage }} -> Target: ${{ steps.decide.outputs.target_stage }}"
|
echo "Current stage: ${{ steps.current.outputs.current_stage }} -> Target: ${{ steps.decide.outputs.target_stage }}"
|
||||||
git log -1 --oneline ${{ steps.commit.outputs.commit_sha }}
|
git log -1 --oneline ${{ steps.commit.outputs.commit_sha }}
|
||||||
|
|
||||||
|
- name: Configure Git User
|
||||||
|
if: ${{ inputs.dry_run != 'true' }}
|
||||||
|
run: |
|
||||||
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
|
||||||
- name: Create & Push Tag
|
- name: Create & Push Tag
|
||||||
if: ${{ inputs.dry_run != 'true' }}
|
if: ${{ inputs.dry_run != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue