chore: use local README stats cards via GitHub Action and profile placeholders
This commit is contained in:
38
.github/workflows/readme-stats-cards.yml
vendored
Normal file
38
.github/workflows/readme-stats-cards.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Update README stats cards
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 4 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Generate pin card
|
||||
uses: readme-tools/github-readme-stats-action@v1
|
||||
with:
|
||||
card: pin
|
||||
options: username=sickn33&repo=antigravity-awesome-skills&show_owner=true&theme=default
|
||||
path: profile/pin.svg
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Generate top languages card
|
||||
uses: readme-tools/github-readme-stats-action@v1
|
||||
with:
|
||||
card: top-langs
|
||||
options: username=sickn33&layout=compact&langs_count=8&card_width=320
|
||||
path: profile/top-langs.svg
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Commit cards
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add profile/*.svg
|
||||
git diff --staged --quiet || (git commit -m "chore: update README stats cards" && git push)
|
||||
@@ -19,10 +19,10 @@
|
||||
[](https://buymeacoffee.com/sickn33)
|
||||
|
||||
<a href="https://github.com/sickn33/antigravity-awesome-skills">
|
||||
<img height="180" align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=sickn33&repo=antigravity-awesome-skills&show_owner=true&theme=default" alt="antigravity-awesome-skills" />
|
||||
<img height="180" align="center" src="./profile/pin.svg" alt="antigravity-awesome-skills" />
|
||||
</a>
|
||||
<a href="https://github.com/sickn33/antigravity-awesome-skills">
|
||||
<img height="180" align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=sickn33&layout=compact&langs_count=8&card_width=320" alt="Top languages" />
|
||||
<img height="180" align="center" src="./profile/top-langs.svg" alt="Top languages" />
|
||||
</a>
|
||||
|
||||
**Antigravity Awesome Skills** is a curated, battle-tested library of **1,272+ high-performance agentic skills** designed to work seamlessly across the major AI coding assistants.
|
||||
|
||||
4
profile/pin.svg
Normal file
4
profile/pin.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="170" viewBox="0 0 400 170">
|
||||
<rect width="400" height="170" fill="#fff" stroke="#e4e2e2" rx="4.5"/>
|
||||
<text x="200" y="85" text-anchor="middle" fill="#434d58" font-size="14" font-family="sans-serif">Pin card " Generated by GitHub Action</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 312 B |
4
profile/top-langs.svg
Normal file
4
profile/top-langs.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="170" viewBox="0 0 320 170">
|
||||
<rect width="320" height="170" fill="#fff" stroke="#e4e2e2" rx="4.5"/>
|
||||
<text x="160" y="85" text-anchor="middle" fill="#434d58" font-size="14" font-family="sans-serif">Top languages " Generated by GitHub Action</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 317 B |
Reference in New Issue
Block a user