diff --git a/.github/workflows/metrics.yml b/.github/workflows/metrics.yml new file mode 100644 index 0000000..5cca1de --- /dev/null +++ b/.github/workflows/metrics.yml @@ -0,0 +1,22 @@ +name: Generate GitHub Metrics + +on: + schedule: + - cron: "0 0 * * 0" # Runs every Sunday + workflow_dispatch: # Allow manual runs + +jobs: + github-metrics: + runs-on: ubuntu-latest + steps: + - uses: lowlighter/metrics@latest + with: + token: ${{ secrets.METRICS_TOKEN }} + user: Alvin-Zilverstand + template: classic + base: header, activity, community, repositories, metadata + config_timezone: Europe/Amsterdam + + # 📅 Isometric commit calendar + plugin_isocalendar: yes + plugin_isocalendar_duration: full-year diff --git a/.github/workflows/snake.yml b/.github/workflows/snake.yml new file mode 100644 index 0000000..98d9e23 --- /dev/null +++ b/.github/workflows/snake.yml @@ -0,0 +1,24 @@ +name: Generate Contribution Snake + +on: + schedule: + - cron: "0 0 * * *" # Runs every day at midnight + workflow_dispatch: # Allow manual runs + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: Platane/snk@v3 + with: + github_user_name: Alvin-Zilverstand + outputs: dist/snake.svg + - name: Push Snake to output branch + uses: EndBug/add-and-commit@v9 + with: + branch: output + message: "chore: update snake animation" + add: "dist/snake.svg"