File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 26
26
- name : Format
27
27
run : pnpm run format
28
28
29
+ - name : " Import GPG key"
30
+ id : import-gpg
31
+ uses : crazy-max/ghaction-import-gpg@v6
32
+ with :
33
+ gpg_private_key : ${{ secrets.BOT_GPG_PRIVATE_KEY }}
34
+ passphrase : ${{ secrets.BOT_GPG_PASSPHRASE }}
35
+ git_user_signingkey : true
36
+ git_commit_gpgsign : true
37
+
29
38
- name : Commit and Push
30
39
uses : stefanzweifel/git-auto-commit-action@v6
31
40
with :
32
41
# TODO: GPG sign: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#signing-commits
33
42
commit_message : " [skip ci] style: format code with prettier"
43
+ commit_author : " ${{ steps.import-gpg.outputs.name }} <${{ steps.import-gpg.outputs.email }}>"
44
+ commit_user_name : ${{ steps.import-gpg.outputs.name }}
45
+ commit_user_email : ${{ steps.import-gpg.outputs.email }}
Original file line number Diff line number Diff line change @@ -33,11 +33,7 @@ export const useCDN = () => {
33
33
34
34
const ruffleJSPath = ( ) => {
35
35
return import . meta. env . VITE_LITE === "true"
36
- ? npm (
37
- packageJson . name ,
38
- packageJson . version ,
39
- "dist/static/ruffle/ruffle.js" ,
40
- )
36
+ ? npm ( packageJson . name , packageJson . version , "dist/static/ruffle/ruffle.js" )
41
37
: `${ static_path } /ruffle/ruffle.js`
42
38
}
43
39
You can’t perform that action at this time.
0 commit comments