chore: remove github-readme-stats cards and workflow
This commit is contained in:
38
.github/workflows/readme-stats-cards.yml
vendored
38
.github/workflows/readme-stats-cards.yml
vendored
@@ -1,38 +0,0 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user