From fe11bfa32596fab4913ff748ca3bda3ed7250d3e Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Mon, 14 Oct 2024 19:19:46 -0700 Subject: [PATCH] Improved workflow/step `name`s --- .github/workflows/eslint-on-push-pr.yml | 2 +- .../workflows/sync-chatgpt.js-changes-to-chrome-starter.yml | 6 +++--- .github/workflows/sync-chrome-starter-changes.yml | 6 +++--- .github/workflows/sync-en-readme-changes.yml | 6 +++--- .github/workflows/sync-greasemonkey-starter-changes.yml | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/eslint-on-push-pr.yml b/.github/workflows/eslint-on-push-pr.yml index 933bb588c..2e9ea10f7 100644 --- a/.github/workflows/eslint-on-push-pr.yml +++ b/.github/workflows/eslint-on-push-pr.yml @@ -1,4 +1,4 @@ -name: ESLint +name: Lint pushes/PRs on: [push, pull_request] diff --git a/.github/workflows/sync-chatgpt.js-changes-to-chrome-starter.yml b/.github/workflows/sync-chatgpt.js-changes-to-chrome-starter.yml index d64b26be0..93c996167 100644 --- a/.github/workflows/sync-chatgpt.js-changes-to-chrome-starter.yml +++ b/.github/workflows/sync-chatgpt.js-changes-to-chrome-starter.yml @@ -1,4 +1,4 @@ -name: Sync chatgpt.js to (/starters/chrome && KudoAI/chatgpt.js-chrome-starter)/extension/lib/chatgpt.js +name: Sync chatgpt.js to starters/chrome/extension/lib/ & KudoAI/chatgpt.js-chrome-starter/extension/lib/ on: push: @@ -27,7 +27,7 @@ jobs: repository: KudoAI/chatgpt.js-chrome-starter path: KudoAI/chatgpt.js-chrome-starter - - name: Sync chatgpt.js to /starters/chrome/extension/lib/chatgpt.js + update version in manifest.json + - name: Sync chatgpt.js to starters/chrome/extension/lib/chatgpt.js + update version in manifest.json run: | cp -f \ "${{ github.workspace }}/KudoAI/chatgpt.js/chatgpt.js" \ @@ -57,7 +57,7 @@ jobs: git config --global commit.gpgsign true git config --global user.name "kudo-sync-bot" git config --global user.email "auto-sync@kudoai.com" - git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" + git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" - name: Push changes to KudoAI/chatgpt.js run: | diff --git a/.github/workflows/sync-chrome-starter-changes.yml b/.github/workflows/sync-chrome-starter-changes.yml index c71b7ce09..e1924265b 100644 --- a/.github/workflows/sync-chrome-starter-changes.yml +++ b/.github/workflows/sync-chrome-starter-changes.yml @@ -1,4 +1,4 @@ -name: Sync /starters/chrome/ to KudoAI/chatgpt.js-chrome-starter/ +name: Sync starters/chrome/ to KudoAI/chatgpt.js-chrome-starter/ on: push: @@ -28,7 +28,7 @@ jobs: repository: KudoAI/chatgpt.js-chrome-starter path: KudoAI/chatgpt.js-chrome-starter - - name: Sync /starters/chrome/ to KudoAI/chatgpt.js-chrome-starter/ + - name: Sync starters/chrome/ to KudoAI/chatgpt.js-chrome-starter/ run: | rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \ "${{ github.workspace }}/KudoAI/chatgpt.js/starters/chrome/" \ @@ -48,7 +48,7 @@ jobs: git config --global commit.gpgsign true git config --global user.name "kudo-sync-bot" git config --global user.email "auto-sync@kudoai.com" - git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" + git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" - name: Push changes to KudoAI/chatgpt.js-chrome-starter run: | diff --git a/.github/workflows/sync-en-readme-changes.yml b/.github/workflows/sync-en-readme-changes.yml index 364ff966f..8c2000405 100644 --- a/.github/workflows/sync-en-readme-changes.yml +++ b/.github/workflows/sync-en-readme-changes.yml @@ -1,4 +1,4 @@ -name: Sync changes between English readmes in root + docs/ +name: Sync English READMEs between root + docs/ on: push: @@ -23,7 +23,7 @@ jobs: path: KudoAI/chatgpt.js fetch-depth: 2 - - name: Sync README.md between root & docs/ + - name: Sync English READMEs between root + docs/ id: sync_readmes run: | cd "${{ github.workspace }}/KudoAI/chatgpt.js" @@ -49,7 +49,7 @@ jobs: git config --global commit.gpgsign true git config --global user.name "kudo-sync-bot" git config --global user.email "auto-sync@kudoai.com" - git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" + git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" - name: Push changes to KudoAI/chatgpt.js run: | diff --git a/.github/workflows/sync-greasemonkey-starter-changes.yml b/.github/workflows/sync-greasemonkey-starter-changes.yml index f4415260b..5f652a6dc 100644 --- a/.github/workflows/sync-greasemonkey-starter-changes.yml +++ b/.github/workflows/sync-greasemonkey-starter-changes.yml @@ -1,4 +1,4 @@ -name: Sync /starters/greasemonkey/ to KudoAI/chatgpt.js-greasemonkey-starter/ +name: Sync starters/greasemonkey/ to KudoAI/chatgpt.js-greasemonkey-starter/ on: push: @@ -28,7 +28,7 @@ jobs: repository: KudoAI/chatgpt.js-greasemonkey-starter path: KudoAI/chatgpt.js-greasemonkey-starter - - name: Sync /starters/greasemonkey/ to KudoAI/chatgpt.js-greasemonkey-starter/ + - name: Sync/starters/greasemonkey/ to KudoAI/chatgpt.js-greasemonkey-starter/ run: | rsync -avhr --delete --filter={'P /.*','P /eslint*','P /package*.json'} \ "${{ github.workspace }}/KudoAI/chatgpt.js/starters/greasemonkey/" \ @@ -48,7 +48,7 @@ jobs: git config --global commit.gpgsign true git config --global user.name "kudo-sync-bot" git config --global user.email "auto-sync@kudoai.com" - git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" + git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" - name: Push changes to KudoAI/chatgpt.js-greasemonkey-starter run: |