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

(cherry picked from commit 6cd29151b7)
This commit is contained in:
lea
2024-04-04 21:02:15 -07:00
committed by GitHub
parent 1f65a8e689
commit 7803bf383d
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
{
"repoOwner": "terrapkg",
"repoName": "packages",
"resetAuthor": true,
"targetBranchChoices": ["f38", "f39", "f40", "frawhide"],
"branchLabelMapping": {
"^sync-(.+)$": "$1"
}
}
+12
View File
@@ -9,6 +9,18 @@ jobs:
name: Backport/sync PR
runs-on: ubuntu-latest
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: