Skip to content

Commit

Permalink
Updated ai-apps to ai-web-extensions everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Oct 18, 2024
1 parent 40c8839 commit 55bc0d6
Show file tree
Hide file tree
Showing 186 changed files with 484 additions and 484 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/sync-amazongpt-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
build:
if: (github.repository == 'adamlui/ai-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
if: (github.repository == 'adamlui/ai-web-extensions') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout adamlui/ai-apps
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/ai-apps
path: adamlui/ai-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions
fetch-depth: 2

- name: Checkout KudoAI/amazongpt
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Sync docs between root & greasemonkey/
run: |
shopt -s globstar
cd ${{ github.workspace }}/adamlui/ai-apps/amazongpt
cd ${{ github.workspace }}/adamlui/ai-web-extensions/amazongpt
loc_prefixes=( "root" "gm" )
# Sync LICENSE.md
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:
- name: Sync amazongpt/ to KudoAI/amazongpt/
run: |
rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \
${{ github.workspace }}/adamlui/ai-apps/amazongpt/ \
${{ github.workspace }}/adamlui/ai-web-extensions/amazongpt/ \
${{ github.workspace }}/KudoAI/amazongpt/
- name: Sync amazongpt/greasemonkey/ to adamlui/userscripts/chatgpt/amazongpt/
run: |
rsync -avhr --delete \
${{ github.workspace }}/adamlui/ai-apps/amazongpt/greasemonkey/ \
${{ github.workspace }}/adamlui/ai-web-extensions/amazongpt/greasemonkey/ \
${{ github.workspace }}/adamlui/userscripts/chatgpt/amazongpt/
- name: Escape backticks in commit msg
Expand All @@ -100,9 +100,9 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`${{ env.sync_src }}\`]" || true
Expand All @@ -113,13 +113,13 @@ jobs:
cd ${{ github.workspace }}/KudoAI/amazongpt
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/userscripts
run: |
cd ${{ github.workspace }}/adamlui/userscripts
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps/amazongpt\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions/amazongpt\`]" || true
git push
22 changes: 11 additions & 11 deletions .github/workflows/sync-autoclear-chatgpt-history-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
build:
if: (github.repository == 'adamlui/ai-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
if: (github.repository == 'adamlui/ai-web-extensions') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout adamlui/ai-apps
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/ai-apps
path: adamlui/ai-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions
fetch-depth: 2

- name: Checkout adamlui/autoclear-chatgpt-history
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Sync docs between root & greasemonkey/
run: |
shopt -s globstar
cd ${{ github.workspace }}/adamlui/ai-apps/autoclear-chatgpt-history
cd ${{ github.workspace }}/adamlui/ai-web-extensions/autoclear-chatgpt-history
loc_prefixes=( "root" "gm" )
# Sync LICENSE.md
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:
- name: Sync autoclear-chatgpt-history/ to adamlui/autoclear-chatgpt-history/
run: |
rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \
${{ github.workspace }}/adamlui/ai-apps/autoclear-chatgpt-history/ \
${{ github.workspace }}/adamlui/ai-web-extensions/autoclear-chatgpt-history/ \
${{ github.workspace }}/adamlui/autoclear-chatgpt-history/
- name: Sync autoclear-chatgpt-history/greasemonkey/ to adamlui/userscripts/chatgpt/autoclear-chatgpt-history/
run: |
rsync -avhr --delete \
${{ github.workspace }}/adamlui/ai-apps/autoclear-chatgpt-history/greasemonkey/ \
${{ github.workspace }}/adamlui/ai-web-extensions/autoclear-chatgpt-history/greasemonkey/ \
${{ github.workspace }}/adamlui/userscripts/chatgpt/autoclear-chatgpt-history/
- name: Escape backticks in commit msg
Expand All @@ -100,9 +100,9 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`${{ env.sync_src }}\`]" || true
Expand All @@ -113,13 +113,13 @@ jobs:
cd ${{ github.workspace }}/adamlui/autoclear-chatgpt-history
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/userscripts
run: |
cd ${{ github.workspace }}/adamlui/userscripts
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps/autoclear-chatgpt-history\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions/autoclear-chatgpt-history\`]" || true
git push
20 changes: 10 additions & 10 deletions .github/workflows/sync-brave-omnibox-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:

jobs:
build:
if: (github.repository == 'adamlui/ai-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
if: (github.repository == 'adamlui/ai-web-extensions') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout adamlui/ai-apps
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/ai-apps
path: adamlui/ai-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions
fetch-depth: 2

- name: Checkout adamlui/brave-omnibox
Expand All @@ -30,7 +30,7 @@ jobs:

- name: Sync _locales/ between brave-omnibox/<chromium|firefox>/extension/
run: |
cd ${{ github.workspace }}/adamlui/ai-apps/brave-omnibox
cd ${{ github.workspace }}/adamlui/ai-web-extensions/brave-omnibox
ff_dir="firefox/extension/_locales"
chromium_dir="chromium/extension/_locales"
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Sync brave-omnibox/ to adamlui/brave-omnibox/
run: |
rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \
${{ github.workspace }}/adamlui/ai-apps/brave-omnibox/ \
${{ github.workspace }}/adamlui/ai-web-extensions/brave-omnibox/ \
${{ github.workspace }}/adamlui/brave-omnibox/
- name: Escape backticks in commit msg
Expand All @@ -78,19 +78,19 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
if: env.locales_updated == 'true'
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/brave-omnibox
run: |
cd ${{ github.workspace }}/adamlui/brave-omnibox
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
22 changes: 11 additions & 11 deletions .github/workflows/sync-bravegpt-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
build:
if: (github.repository == 'adamlui/ai-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
if: (github.repository == 'adamlui/ai-web-extensions') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout adamlui/ai-apps
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/ai-apps
path: adamlui/ai-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions

- name: Checkout KudoAI/bravegpt
uses: actions/checkout@v4
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Sync docs between root & greasemonkey/
run: |
shopt -s globstar
cd ${{ github.workspace }}/adamlui/ai-apps/bravegpt
cd ${{ github.workspace }}/adamlui/ai-web-extensions/bravegpt
loc_prefixes=( "root" "gm" )
# Sync LICENSE.md
Expand Down Expand Up @@ -74,13 +74,13 @@ jobs:
- name: Sync bravegpt/ to KudoAI/bravegpt/
run: |
rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \
${{ github.workspace }}/adamlui/ai-apps/bravegpt/ \
${{ github.workspace }}/adamlui/ai-web-extensions/bravegpt/ \
${{ github.workspace }}/KudoAI/bravegpt/
- name: Sync bravegpt/greasemonkey/ to adamlui/userscripts/chatgpt/bravegpt/
run: |
rsync -avhr --delete \
${{ github.workspace }}/adamlui/ai-apps/bravegpt/greasemonkey/ \
${{ github.workspace }}/adamlui/ai-web-extensions/bravegpt/greasemonkey/ \
${{ github.workspace }}/adamlui/userscripts/chatgpt/bravegpt/
- name: Escape backticks in commit msg
Expand All @@ -99,9 +99,9 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`${{ env.sync_src }}\`]" || true
Expand All @@ -112,13 +112,13 @@ jobs:
cd ${{ github.workspace }}/KudoAI/bravegpt
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/userscripts
run: |
cd ${{ github.workspace }}/adamlui/userscripts
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps/bravegpt\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions/bravegpt\`]" || true
git push
24 changes: 12 additions & 12 deletions .github/workflows/sync-chatgpt-auto-continue-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
build:
if: (github.repository == 'adamlui/ai-apps') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
if: (github.repository == 'adamlui/ai-web-extensions') && (github.event.commits[0].committer.username != 'kudo-sync-bot')
runs-on: ubuntu-latest
env:
TZ: PST8PDT

steps:

- name: Checkout adamlui/ai-apps
- name: Checkout adamlui/ai-web-extensions
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SYNC_PAT }}
repository: adamlui/ai-apps
path: adamlui/ai-apps
repository: adamlui/ai-web-extensions
path: adamlui/ai-web-extensions
fetch-depth: 2

- name: Checkout adamlui/chatgpt-auto-continue
Expand All @@ -38,7 +38,7 @@ jobs:

- name: Sync _locales/ between chatgpt-auto-continue/<chromium|firefox>/extension/
run: |
cd ${{ github.workspace }}/adamlui/ai-apps/chatgpt-auto-continue
cd ${{ github.workspace }}/adamlui/ai-web-extensions/chatgpt-auto-continue
ff_dir="firefox/extension/_locales"
chromium_dir="chromium/extension/_locales"
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
- name: Sync chatgpt-auto-continue/ to adamlui/chatgpt-auto-continue/
run: |
rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \
${{ github.workspace }}/adamlui/ai-apps/chatgpt-auto-continue/ \
${{ github.workspace }}/adamlui/ai-web-extensions/chatgpt-auto-continue/ \
${{ github.workspace }}/adamlui/chatgpt-auto-continue/
- name: Sync chatgpt-auto-continue/greasemonkey/ to adamlui/userscripts/chatgpt/chatgpt-auto-continue/
run: |
rsync -avhr --delete \
${{ github.workspace }}/adamlui/ai-apps/chatgpt-auto-continue/greasemonkey/ \
${{ github.workspace }}/adamlui/ai-web-extensions/chatgpt-auto-continue/greasemonkey/ \
${{ github.workspace }}/adamlui/userscripts/chatgpt/chatgpt-auto-continue/
- name: Escape backticks in commit msg
Expand All @@ -92,27 +92,27 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
- name: Push changes to adamlui/ai-apps
- name: Push changes to adamlui/ai-web-extensions
if: env.locales_updated == 'true'
run: |
cd ${{ github.workspace }}/adamlui/ai-apps
cd ${{ github.workspace }}/adamlui/ai-web-extensions
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/chatgpt-auto-continue
run: |
cd ${{ github.workspace }}/adamlui/chatgpt-auto-continue
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions\`]" || true
git push
- name: Push changes to adamlui/userscripts
run: |
cd ${{ github.workspace }}/adamlui/userscripts
git pull # again to sync w/ concurrent workflow updates
git add .
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-apps/chatgpt-auto-continue\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/ai-web-extensions/chatgpt-auto-continue\`]" || true
git push
Loading

0 comments on commit 55bc0d6

Please sign in to comment.