Skip to content

Commit

Permalink
configure git (user and e-mail); Update PR Titel
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii committed Jul 19, 2024
1 parent b900358 commit 9c2c0a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/bump-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ permissions:
jobs:
update-Modules:
runs-on: ubuntu-22.04
env:
COMMIT_NAME: github-actions[bot]
COMMIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
steps:
- name: Clone Firmware
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Configure Git User and E-Mail
run: git config --global user.name "${{ env.COMMIT_NAME }}" && git config --global user.email "${{ env.COMMIT_EMAIL }}"

- name: Get update branch name
id: branch-name
run: echo "branch-name=update-modules-${{ github.event.inputs.branch }}-$(date +%s)" >> $GITHUB_OUTPUT
Expand All @@ -26,7 +32,7 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
title: '[Update] ${{ github.event.inputs.branch }} modules'
title: '[${{ github.ref_name }}] update modules'
body: |
Update modules for ${{ github.event.inputs.branch }} branch
<sub><sup>- Auto-generated by [create-pull-request][1]</sub></sup>
Expand Down

0 comments on commit 9c2c0a9

Please sign in to comment.