0
1
Fork 0
mirror of https://github.com/sokai/gh-stars.git synced 2025-10-10 15:30:39 +02:00

Compare commits

...

19 commits

Author SHA1 Message Date
sokai
9bc284dbee
Update update-by-lang.yml 2025-09-04 12:14:52 +00:00
sokai
925fa7e0ea
Update update-by-lang.yml 2025-09-04 12:13:21 +00:00
sokai
cb528af667
Update update-by-lang.yml 2025-09-04 12:08:58 +00:00
sokai
9faa4a11eb
Update update-by-lang.yml 2025-09-04 12:02:59 +00:00
sokai
00baeda713
Update update-by-lang.yml
Env = final ;)
2025-09-04 11:59:58 +00:00
sokai
40dc6321cf
Update update-by-lang.yml 2025-09-04 11:57:47 +00:00
sokai
0c67d4735a
Update update-by-lang.yml 2025-09-04 11:55:13 +00:00
sokai
8227423890
Update update-by-lang.yml
* Fixed vars usage
2025-09-04 11:51:10 +00:00
sokai
a94ccb431d
Update update-by-lang.yml
* Better commits
* Ref: 2c5034e334/.github/workflows/main.yml
2025-09-04 11:50:04 +00:00
github-actions[bot]
8e57452c37
docs(topic): bump data 2025-09-04 11:34:25 +00:00
github-actions[bot]
debf20a37a
docs(language): bump data 2025-09-04 10:24:47 +00:00
github-actions[bot]
3f52e92957
docs(language): bump data 2025-09-04 09:43:05 +00:00
github-actions[bot]
2c693de2c7
docs(topic): bump data 2025-09-04 09:38:52 +00:00
github-actions[bot]
ad1f4365d7
docs(language): bump data 2025-09-04 08:50:44 +00:00
github-actions[bot]
ca5ac04165
docs(language): bump data 2025-09-04 07:40:39 +00:00
github-actions[bot]
9f3490649c
docs(language): bump data 2025-09-04 07:22:42 +00:00
github-actions[bot]
1832c73c08 docs(list): bump data 2025-09-04 07:16:54 +00:00
github-actions[bot]
423d44756c
docs(topic): bump data 2025-09-04 05:38:38 +00:00
github-actions[bot]
a743696ec1
docs(language): bump data 2025-09-04 04:45:06 +00:00
4 changed files with 44 additions and 24 deletions

View file

@ -1,34 +1,50 @@
name: Update by language
name: Update by language
on:
workflow_dispatch:
push:
branches: [main]
schedule:
- cron: 0/30 * * * *
workflow_dispatch:
jobs:
update-by-language:
name: update awesome-stars
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
USERNAME: ${{ github.repository_owner }}
name: 🌟 Update stars and clean old runs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
- name: 🧹 Delete old workflow runs
run: |
python -m pip install --upgrade pip
pip install starred
- name: Get repository name
run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Update repo category by language
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ env.REPOSITORY_NAME }}
USERNAME: ${{ github.repository_owner }}
gh api repos/${REPOSITORY}/actions/runs -X GET --paginate -q '.workflow_runs[] | select(.status != "in_progress" and .status != "queued") | "\(.id)"' | xargs -I % gh api repos/${REPOSITORY}/actions/runs/% -X DELETE
- name: ⬇ Checkout
uses: actions/checkout@v5
- name: 🔧 Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: 🔧 Install dependencies
run: pip install --upgrade pip starred
- name: ⭐ Update repo category by language
run: |
starred \
--username ${USERNAME} \
--repository ${REPOSITORY} \
--token ${GITHUB_TOKEN} \
--sort \
--message "docs(language): bump data" \
--filename by-language.md
--token ${GITHUB_TOKEN} \
--username ${USERNAME} \
--sort > by-language.md
head by-language.md
if [ $(wc -l < "by-language.md") -lt 100 ]; then
git checkout -- "by-language.md"
fi
- name: 🤖 Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🤖 Update generated README/topics
branch: main
commit_user_name: awesome-stars 🤖
commit_user_email: actions@github.com
commit_author: awesome-stars 🤖 <actions@github.com>

View file

@ -1245,6 +1245,7 @@
## Nix
- [rti/nixwrap](https://github.com/rti/nixwrap) - Easy Application Sandboxing on NixOS
- [PrimaMateria/nixos-hive](https://github.com/PrimaMateria/nixos-hive) - PrimaMateria's NixOS configuration
- [BryceBeagle/nixos-config](https://github.com/BryceBeagle/nixos-config) -
- [nix-community/flakelight](https://github.com/nix-community/flakelight) - Framework for simplifying flake setup [maintainer=@accelbread]

View file

@ -286,6 +286,7 @@
- [mattermost/mattermost](https://github.com/mattermost/mattermost) - Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
- [ktolonen/ultiorganizer](https://github.com/ktolonen/ultiorganizer) - Ultiorganizer is a web application for online score keeping of Ultimate events.
- [thunderbird/stormbox](https://github.com/thunderbird/stormbox) - A webmail.
- [rti/nixwrap](https://github.com/rti/nixwrap) - Easy Application Sandboxing on NixOS
## knowledge
- [TiddlyWiki/TiddlyWiki5](https://github.com/TiddlyWiki/TiddlyWiki5) - A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
@ -661,6 +662,7 @@
- [BryceBeagle/nixos-config](https://github.com/BryceBeagle/nixos-config) -
- [PrimaMateria/nixos-hive](https://github.com/PrimaMateria/nixos-hive) - PrimaMateria's NixOS configuration
- [utdemir/nix-tree](https://github.com/utdemir/nix-tree) - Interactively browse dependency graphs of Nix derivations.
- [rti/nixwrap](https://github.com/rti/nixwrap) - Easy Application Sandboxing on NixOS
## nixolotl
- [Mic92/nix-update](https://github.com/Mic92/nix-update) - Swiss-knife for updating nix packages.

View file

@ -2211,6 +2211,7 @@
## linux
- [rti/nixwrap](https://github.com/rti/nixwrap) - Easy Application Sandboxing on NixOS
- [nikstur/userborn](https://github.com/nikstur/userborn) - Declaratively bear (manage) Linux users and groups
- [wueestry/nixos-config](https://github.com/wueestry/nixos-config) - Current nixos configuration using snowfall lib as flake structure
- [future-architect/vuls](https://github.com/future-architect/vuls) - Agent-less vulnerability scanner for Linux, FreeBSD, Container, WordPress, Programming language libraries, Network devices