mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-27 05:48:26 +00:00
Use Raboneko as the bot user
This commit is contained in:
@@ -21,7 +21,13 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
token: ${{ secrets.PAT }}
|
||||
token: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_SIGNING_KEY }}
|
||||
known_hosts: unnecessary
|
||||
|
||||
- name: Run Update
|
||||
run: bash ./update.sh
|
||||
@@ -32,8 +38,10 @@ jobs:
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Package Update Checker"
|
||||
git config user.email "<>"
|
||||
git commit -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config gpg.signingKey "${{ secrets.SSH_PUBLIC_SIGNING_KEY }}""
|
||||
git commit -S -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git push -u origin main
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user