fix: reset author and sign during backport (#1069)

This commit is contained in:
lea
2024-04-04 17:46:01 -07:00
committed by GitHub
parent 1a5f650c74
commit 6cd29151b7
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -10,6 +10,18 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- name: Install SSH signing key
run: |
mkdir -p ${{ runner.temp }}
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
chmod 0700 ${{ runner.temp }}/signing_key
- name: Setup Raboneko Signing
run: |
git config --global gpg.format "ssh"
git config --global user.signingkey "${{ runner.temp }}/signing_key"
git config --global commit.gpgsign true
- name: Backport Action
uses: sorenlouv/backport-github-action@v9.3.0
with: