Merge branch 'main' into maintenance/lint

This commit is contained in:
windowsboy111
2022-12-07 12:31:59 +08:00
committed by GitHub
35 changed files with 694 additions and 1111 deletions
+6 -6
View File
@@ -23,11 +23,11 @@ jobs:
fetch-depth: 2
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_SIGNING_KEY }}
known_hosts: unnecessary
- 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: Run Update
run: bash ./update.sh
@@ -41,7 +41,7 @@ jobs:
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 config user.signingkey "${{ runner.temp }}/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