Skip to content

Commit

Permalink
GHA: config git committer
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <[email protected]>
(cherry picked from commit f493bb7)

# Conflicts:
#	.github/workflows/installer-pr.yml
  • Loading branch information
Vicente-Cheng authored and mergify[bot] committed Feb 11, 2025
1 parent 161f22f commit 806f5cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/installer-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
ref: ${{ env.targetVersion }}
- name: Update os image
run: sed -i "s,^BASE_OS_IMAGE=.*,BASE_OS_IMAGE=\"${{ env.IMAGE_NAME }}\"," scripts/package-harvester-os
- name: Config PR committer
run: |
git config --global user.email "<[email protected]>"
git config --global user.name "Github"
- name: Create PR Content
run: |
echo "prContent<<EOF" >> $GITHUB_ENV
Expand Down Expand Up @@ -89,6 +93,10 @@ jobs:
- name: Update nvidia driver toolkit tag
run: |
sed -i "/tag:/ {N; /harvester-nvidia-driver-toolkit/ s/tag:.*\n/tag: ${{ inputs.tag }}\n/}" pkg/templates/rancherd-22-addons.yaml
- name: Config PR committer
run: |
git config --global user.email "<[email protected]>"
git config --global user.name "Github"
- name: create PR content
run: |
echo "prContent<<EOF" >> $GITHUB_ENV
Expand All @@ -115,4 +123,8 @@ jobs:
--head bump-nv-driver-${{ inputs.tag }} \
--reviewer "harvester/os" \
--title "Bump nvidia-driver-toolkit ${{ inputs.tag }}" \
<<<<<<< HEAD
--body ${{ env.prContent }} \
=======
--body ${{ env.prContent }}
>>>>>>> f493bb7 (GHA: config git committer)

0 comments on commit 806f5cf

Please sign in to comment.