From a5b66c9499a9a7adcfa174aa2955d80872819b24 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 23 Aug 2025 09:07:09 -0500 Subject: [PATCH 1/5] docs: add lint job and gh-cli script count badges --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b5c8119..c94a0fa 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # github-misc-scripts +[![./gh-cli scripts](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/joshjohanning/badges/main/github-misc-scripts/gh-cli-count.json)][gh-cli] +[![./scripts scripts](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/joshjohanning/badges/main/github-misc-scripts/scripts-count.json)][scripts] +[![linting workflow](https://img.shields.io/github/actions/workflow/status/joshjohanning/github-misc-scripts/lint-readme.yml?logo=github&label=linting%20workflow&color=brightgreen&labelColor=gray)][ci] + Miscellaneous GitHub scripts, `gh` commands, API calls, GraphQL queries, etc. for power user automation. See the folder categories: @@ -15,3 +19,7 @@ See the folder categories: > [!IMPORTANT] > Your script contribution is welcome! ⭐️ Please see the **[CONTRIBUTING.md](CONTRIBUTING.md)** file for more details. + +[gh-cli]: https://github.com/joshjohanning/github-misc-scripts/tree/main/gh-cli +[scripts]: https://github.com/joshjohanning/github-misc-scripts/tree/main/scripts +[ci]: https://github.com/joshjohanning/github-misc-scripts/actions/workflows/lint-readme.yml From 293028ea2836e1752b2b77cedbbeb554d38d76ec Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 23 Aug 2025 10:31:41 -0500 Subject: [PATCH 2/5] fix: make lint comment headers consistent with badges --- .github/workflows/lint-readme.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-readme.yml b/.github/workflows/lint-readme.yml index 03cb31c..38e37b6 100644 --- a/.github/workflows/lint-readme.yml +++ b/.github/workflows/lint-readme.yml @@ -70,7 +70,7 @@ jobs: - name: Process Lint Results id: process-results run: | - echo "## 📋 README Lint Results" > comment.md + echo "## 📋 Lint Results" > comment.md echo "" >> comment.md # Function to process lint results @@ -90,8 +90,8 @@ jobs: } # Process both README results - process_lint_results "⚡ gh-cli/README.md" "./lint-results/gh-cli-readme-lint-results/gh-cli-readme-lint-results.txt" - process_lint_results "🔧 scripts/README.md" "./lint-results/scripts-readme-lint-results/scripts-readme-lint-results.txt" + process_lint_results "⚡ ./gh-cli scripts" "./lint-results/gh-cli-readme-lint-results/gh-cli-readme-lint-results.txt" + process_lint_results "🔧 ./scripts scripts" "./lint-results/scripts-readme-lint-results/scripts-readme-lint-results.txt" echo "---" >> comment.md echo "*Lint results updated at $(date)*" >> comment.md From 10c9a410713192c8364939b8a500d1fa195a04f2 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 23 Aug 2025 10:31:59 -0500 Subject: [PATCH 3/5] docs: add stars badge to README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c94a0fa..96789ae 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![./gh-cli scripts](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/joshjohanning/badges/main/github-misc-scripts/gh-cli-count.json)][gh-cli] [![./scripts scripts](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/joshjohanning/badges/main/github-misc-scripts/scripts-count.json)][scripts] [![linting workflow](https://img.shields.io/github/actions/workflow/status/joshjohanning/github-misc-scripts/lint-readme.yml?logo=github&label=linting%20workflow&color=brightgreen&labelColor=gray)][ci] +[![stars](https://img.shields.io/github/stars/joshjohanning/github-misc-scripts?style=flat&logo=github&color=yellow&label=stars%20★)][stars] Miscellaneous GitHub scripts, `gh` commands, API calls, GraphQL queries, etc. for power user automation. @@ -23,3 +24,4 @@ See the folder categories: [gh-cli]: https://github.com/joshjohanning/github-misc-scripts/tree/main/gh-cli [scripts]: https://github.com/joshjohanning/github-misc-scripts/tree/main/scripts [ci]: https://github.com/joshjohanning/github-misc-scripts/actions/workflows/lint-readme.yml +[stars]: https://github.com/joshjohanning/github-misc-scripts/stargazers From 0f5980da013ddbcd4ac601f6fac75d612ce21ab4 Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 23 Aug 2025 10:42:03 -0500 Subject: [PATCH 4/5] docs: update badge links --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96789ae..c3a4c7d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ See the folder categories: > [!IMPORTANT] > Your script contribution is welcome! ⭐️ Please see the **[CONTRIBUTING.md](CONTRIBUTING.md)** file for more details. -[gh-cli]: https://github.com/joshjohanning/github-misc-scripts/tree/main/gh-cli -[scripts]: https://github.com/joshjohanning/github-misc-scripts/tree/main/scripts +[gh-cli]: https://github.com/joshjohanning/github-misc-scripts/tree/main/gh-cli#readme +[scripts]: https://github.com/joshjohanning/github-misc-scripts/tree/main/scripts#readme [ci]: https://github.com/joshjohanning/github-misc-scripts/actions/workflows/lint-readme.yml [stars]: https://github.com/joshjohanning/github-misc-scripts/stargazers From d8550099795f658ee2a2e1b0e5ff6d955712c13d Mon Sep 17 00:00:00 2001 From: Josh Johanning Date: Sat, 23 Aug 2025 10:43:48 -0500 Subject: [PATCH 5/5] docs: update links in README.md for folder categories --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c3a4c7d..10e07f7 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ Miscellaneous GitHub scripts, `gh` commands, API calls, GraphQL queries, etc. fo See the folder categories: -- [api](/api/README.md) *direct API calls using `curl`* -- **[gh-cli](/gh-cli/README.md)** 🚀 ✨ ⬅️ *most updated and comprehensive scripts using `gh`, `gh api`, and `gh api graphql`!* -- [git](/git/README.md) *Git-related scripts/commands* -- [graphql](/graphql/README.md) *GraphQL queries using `curl`* -- [scripts](/scripts/README.md) *standalone scripts and specialized tools* +- [api](/api) *direct API calls using `curl`* +- **[gh-cli](/gh-cli)** 🚀 ✨ ⬅️ *most updated and comprehensive scripts using `gh`, `gh api`, and `gh api graphql`!* +- [git](/git) *Git-related scripts/commands* +- [graphql](/graphql) *GraphQL queries using `curl`* +- [scripts](/scripts) *standalone scripts and specialized tools* > [!TIP] > The **[gh-cli](/gh-cli/README.md)** folder is the most maintained; I've started adding both API and GraphQL queries in there using `gh api` and `gh api graphql` commands.