-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: sign the commit for images optimization (#430)
- Loading branch information
Showing
1 changed file
with
18 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 |
---|---|---|
|
@@ -23,9 +23,23 @@ jobs: | |
id: optimize-images | ||
uses: Doist/optimize-images-action@v2 | ||
|
||
- name: Create a PR with the new images | ||
- name: Import the kube1st GPG key | ||
id: import-gpg | ||
uses: crazy-max/[email protected] | ||
with: | ||
git_committer_name: "kube1st" | ||
git_committer_email: "${{ secrets.GPG_EMAIL }}" | ||
gpg_private_key: "${{ secrets.GPG_PRIVATE_KEY }}" | ||
passphrase: "${{ secrets.GPG_PASSPHRASE }}" | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
|
||
- name: Create a PR for the new version | ||
uses: peter-evans/[email protected] | ||
with: | ||
commit-message: "chore: optimize images with lossless compression" | ||
delete-branch: true | ||
body: ${{ steps.optimize-images.outputs.summary }} | ||
token: ${{ secrets.DOCS_PERMISSIONS_TOKEN }} | ||
committer: "kube1st <${{ secrets.GPG_EMAIL }}>" | ||
branch: "optimize/images" | ||
title: "chore: optimize new images with lossless compression" | ||
body: "" | ||
commit-message: "docs: create v${{ github.event.inputs.version }} documentation\n\n${{ steps.optimize-images.outputs.summary }}" |