File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- if : (github.repository == 'KudoAI/googlegpt') && (github.event.commits[0].committer.username != 'kudo -sync-bot ')
10+ if : (github.repository == 'KudoAI/googlegpt') && !contains (github.event.head_commit.message, '[auto -sync] ')
1111 runs-on : ubuntu-24.04
1212 permissions :
1313 contents : read
@@ -109,20 +109,21 @@ jobs:
109109 if : env.SYNC_SRC
110110 run : |
111111 cd ${{ github.workspace }}/KudoAI/googlegpt
112- git add .
113- git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from $SYNC_SRC/]" || true
112+ git add . && git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from $SYNC_SRC/]" || true
113+ git pull --rebase
114114 git push
115115
116116 - name : Push changes to adamlui/ai-web-extensions
117117 run : |
118118 cd ${{ github.workspace }}/adamlui/ai-web-extensions
119- git add .
120- git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/googlegpt]" || true
119+ git add . && git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/googlegpt]" || true
120+ git pull --rebase
121121 git push
122122
123+
123124 - name : Push changes to adamlui/userscripts
124125 run : |
125126 cd ${{ github.workspace }}/adamlui/userscripts
126- git add .
127- git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/googlegpt]" || true
127+ git add . && git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from https://github.com/KudoAI/googlegpt]" || true
128+ git pull --rebase
128129 git push
You can’t perform that action at this time.
0 commit comments