File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Generate
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+ workflow_dispatch : {}
9+
10+ jobs :
11+ commit :
12+ name : Generate code
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 30
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ with :
19+ ref : ${{ github.head_ref }}
20+ token : ${{ secrets.GH_TOKEN }}
21+ - name : Import GPG key
22+ uses : crazy-max/ghaction-import-gpg@v5
23+ with :
24+ git_user_signingkey : true
25+ git_commit_gpgsign : true
26+ git_committer_name : ${{ secrets.GIT_USER_NAME }}
27+ git_committer_email : ${{ secrets.GIT_USER_EMAIL }}
28+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
29+ passphrase : ${{ secrets.GPG_PASSPHRASE }}
30+ - name : Setup
31+ uses : ./.github/actions/setup
32+ with :
33+ install_dependencies : ' false'
34+ - name : Normalize package-lock.json
35+ run : npm install
36+ - name : Commit
37+ uses : stefanzweifel/git-auto-commit-action@v4
38+ with :
39+ commit_message : Generate code
40+ commit_user_name : ${{ secrets.GIT_USER_NAME }}
41+ commit_user_email : ${{ secrets.GIT_USER_EMAIL }}
42+ commit_author : ${{ secrets.GIT_USER_NAME }} <${{ secrets.GIT_USER_EMAIL }}>
You can’t perform that action at this time.
0 commit comments