0
1
Fork 0
mirror of https://github.com/sokai/gh-stars.git synced 2025-10-11 07:50:40 +02:00

Compare commits

..

No commits in common. "9bc284dbeef6403be4a74825a984056696c47603" and "63ee399ee11df9dec955f13bbb2cfe254754d82c" have entirely different histories.

4 changed files with 24 additions and 44 deletions

View file

@ -1,50 +1,34 @@
name: Update by language
name: Update by language
on:
push:
branches: [main]
workflow_dispatch:
schedule:
- cron: 0/30 * * * *
workflow_dispatch:
jobs:
update-by-language:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
USERNAME: ${{ github.repository_owner }}
name: 🌟 Update stars and clean old runs
name: update awesome-stars
runs-on: ubuntu-latest
steps:
- name: 🧹 Delete old workflow runs
run: |
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
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: 🔧 Install dependencies
run: pip install --upgrade pip starred
- name: ⭐ Update repo category by language
python-version: "3.10"
- name: Install dependencies
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 }}
run: |
starred \
--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>
--username ${USERNAME} \
--repository ${REPOSITORY} \
--token ${GITHUB_TOKEN} \
--sort \
--message "docs(language): bump data" \
--filename by-language.md

View file

@ -1245,7 +1245,6 @@
## 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,7 +286,6 @@
- [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.
@ -662,7 +661,6 @@
- [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,7 +2211,6 @@
## 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