-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c32e845
commit 5759d36
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
# Checkout the repository at the merge commit | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
submodules: true | ||
|
||
|
@@ -30,7 +29,7 @@ jobs: | |
- name: Import GPG key | ||
run: | | ||
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import | ||
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --edit-key F768450FB05B817D0B4BC26FB9B6A9B428C8676A trust quit | ||
echo "B9B6A9B428C8676A:6:" | gpg --batch --import-ownertrust | ||
- name: Run update script | ||
run: python update_repo.py | ||
|
@@ -41,11 +40,10 @@ jobs: | |
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email '[email protected]' | ||
git config --global user.signingkey F768450FB05B817D0B4BC26FB9B6A9B428C8676A | ||
git config --global user.signingkey B9B6A9B428C8676A | ||
git config --global commit.gpgSign true | ||
git config --global gpg.program gpg | ||
git add . | ||
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --sign | ||
git commit -m "Update files based on submodule changes" -S | ||
git pull --rebase origin ${{ github.event.pull_request.head.ref }} | ||
git push origin HEAD:${{ github.event.pull_request.head.ref }} |