mirror of
https://github.com/sokai/gh-stars.git
synced 2025-10-10 23:40:39 +02:00
Compare commits
19 commits
63ee399ee1
...
9bc284dbee
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9bc284dbee | ||
![]() |
925fa7e0ea | ||
![]() |
cb528af667 | ||
![]() |
9faa4a11eb | ||
![]() |
00baeda713 | ||
![]() |
40dc6321cf | ||
![]() |
0c67d4735a | ||
![]() |
8227423890 | ||
![]() |
a94ccb431d | ||
![]() |
8e57452c37 | ||
![]() |
debf20a37a | ||
![]() |
3f52e92957 | ||
![]() |
2c693de2c7 | ||
![]() |
ad1f4365d7 | ||
![]() |
ca5ac04165 | ||
![]() |
9f3490649c | ||
![]() |
1832c73c08 | ||
![]() |
423d44756c | ||
![]() |
a743696ec1 |
4 changed files with 44 additions and 24 deletions
64
.github/workflows/update-by-lang.yml
vendored
64
.github/workflows/update-by-lang.yml
vendored
|
@ -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>
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue