File tree Expand file tree Collapse file tree 1 file changed +15
-17
lines changed
Expand file tree Collapse file tree 1 file changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: generate
22
33on :
44 push :
5- branches-ignore :
6- - production
7- pull_request :
8- branches-ignore :
9- - production
5+ branches :
6+ - dev
107 workflow_dispatch :
118
129jobs :
@@ -39,15 +36,16 @@ jobs:
3936 git config --local user.name "GitHub Action"
4037 git add -A
4138 git commit -m "chore: generate"
42- if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
43- echo ""
44- echo "============================================"
45- echo "Failed to push generated code."
46- echo "Please run locally and push:"
47- echo ""
48- echo " ./script/generate.ts"
49- echo " git add -A && git commit -m \"chore: generate\" && git push"
50- echo ""
51- echo "============================================"
52- exit 1
53- fi
39+ git push origin HEAD:${{ github.ref_name }} --no-verify
40+ # if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
41+ # echo ""
42+ # echo "============================================"
43+ # echo "Failed to push generated code."
44+ # echo "Please run locally and push:"
45+ # echo ""
46+ # echo " ./script/generate.ts"
47+ # echo " git add -A && git commit -m \"chore: generate\" && git push"
48+ # echo ""
49+ # echo "============================================"
50+ # exit 1
51+ # fi
You can’t perform that action at this time.
0 commit comments