-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added author init, moved commiter init to env vars
- Loading branch information
Showing
4 changed files
with
24 additions
and
10 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 |
---|---|---|
|
@@ -9,6 +9,12 @@ jobs: | |
build: | ||
if: (github.repository == 'KudoAI/chatgpt.js') && (github.event.commits[0].committer.username != 'kudo-sync-bot') | ||
runs-on: ubuntu-latest | ||
env: | ||
GIT_AUTHOR_NAME: ${{ github.event.commits[0].author.name }} | ||
GIT_AUTHOR_EMAIL: ${{ github.event.commits[0].author.email }} | ||
GIT_COMMITTER_NAME: kudo-sync-bot | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
|
||
steps: | ||
- name: Checkout KudoAI/chatgpt.js | ||
uses: actions/checkout@v4 | ||
|
@@ -51,17 +57,13 @@ jobs: | |
- name: Push changes to KudoAI/chatgpt.js | ||
run: | | ||
cd ${{ github.workspace }}/KudoAI/chatgpt.js | ||
git config --global user.name "kudo-sync-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`KudoAI/chatgpt.js\`]" || true | ||
git push | ||
- name: Push changes to KudoAI/chatgpt.js-chrome-starter | ||
run: | | ||
cd ${{ github.workspace }}/KudoAI/chatgpt.js-chrome-starter | ||
git config --global user.name "kudo-sync-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -n -m "$ESCAPED_MSG↞ [auto-sync from \`KudoAI/chatgpt.js\`]" || true | ||
git push |
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 |
---|---|---|
|
@@ -9,6 +9,12 @@ jobs: | |
build: | ||
if: (github.repository == 'KudoAI/chatgpt.js') && (github.event.commits[0].committer.username != 'kudo-sync-bot') | ||
runs-on: ubuntu-latest | ||
env: | ||
GIT_AUTHOR_NAME: ${{ github.event.commits[0].author.name }} | ||
GIT_AUTHOR_EMAIL: ${{ github.event.commits[0].author.email }} | ||
GIT_COMMITTER_NAME: kudo-sync-bot | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
|
||
steps: | ||
|
||
- name: Checkout KudoAI/chatgpt.js | ||
|
@@ -40,8 +46,6 @@ jobs: | |
- name: Push changes to KudoAI/chatgpt.js-chrome-starter | ||
run: | | ||
cd ${{ github.workspace }}/KudoAI/chatgpt.js-chrome-starter | ||
git config --global user.name "kudo-sync-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`KudoAI/chatgpt.js\`]" || true | ||
git push |
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 |
---|---|---|
|
@@ -11,6 +11,12 @@ jobs: | |
build: | ||
if: (github.repository == 'KudoAI/chatgpt.js') && (github.event.commits[0].committer.username != 'kudo-sync-bot') | ||
runs-on: ubuntu-latest | ||
env: | ||
GIT_AUTHOR_NAME: ${{ github.event.commits[0].author.name }} | ||
GIT_AUTHOR_EMAIL: ${{ github.event.commits[0].author.email }} | ||
GIT_COMMITTER_NAME: kudo-sync-bot | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
|
||
steps: | ||
- name: Checkout KudoAI/chatgpt.js | ||
uses: actions/checkout@v4 | ||
|
@@ -41,8 +47,6 @@ jobs: | |
- name: Push changes to KudoAI/chatgpt.js | ||
run: | | ||
cd ${{ github.workspace }}/KudoAI/chatgpt.js | ||
git config --global user.name "kudo-sync-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`${{ steps.sync_readmes.outputs.sync_src }}\`]" || true | ||
git push |
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 |
---|---|---|
|
@@ -9,6 +9,12 @@ jobs: | |
build: | ||
if: (github.repository == 'KudoAI/chatgpt.js') && (github.event.commits[0].committer.username != 'kudo-sync-bot') | ||
runs-on: ubuntu-latest | ||
env: | ||
GIT_AUTHOR_NAME: ${{ github.event.commits[0].author.name }} | ||
GIT_AUTHOR_EMAIL: ${{ github.event.commits[0].author.email }} | ||
GIT_COMMITTER_NAME: kudo-sync-bot | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
|
||
steps: | ||
|
||
- name: Checkout KudoAI/chatgpt.js | ||
|
@@ -40,8 +46,6 @@ jobs: | |
- name: Push changes to KudoAI/chatgpt.js-greasemonkey-starter | ||
run: | | ||
cd ${{ github.workspace }}/KudoAI/chatgpt.js-greasemonkey-starter | ||
git config --global user.name "kudo-sync-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`KudoAI/chatgpt.js\`]" || true | ||
git push |