Skip to content

Commit dc1e87a

Browse files
RoyalOughtnesssecureblue-bot
authored andcommitted
chore: add bot for rebasing (#10)
* chore: add bot for rebasing * newbotmethod
1 parent 6cef9e1 commit dc1e87a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/upstream-sync.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@ jobs:
3333
persist-credentials: true # zizmor: ignore[artipacked]
3434
fetch-depth: 0
3535

36+
- name: Import GPG key
37+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
38+
with:
39+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
40+
passphrase: ${{ secrets.PASSPHRASE }}
41+
git_user_signingkey: true
42+
git_commit_gpgsign: true
43+
3644
- name: Pull tags from upstream and rebase
3745
shell: bash
3846
env:
3947
FEDORA_VERSION: 42
4048
run: |
4149
set -euxo pipefail
42-
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
43-
git config user.name 'github-actions[bot]'
50+
git config user.email '236124859+secureblue-bot@users.noreply.github.com'
51+
git config user.name 'secureblue-bot'
4452
git remote add 'upstream' 'https://github.com/fedora-selinux/selinux-policy.git'
4553
git fetch --tags 'upstream'
4654

0 commit comments

Comments
 (0)