Create metrics-action

This commit is contained in:
2025-03-29 00:06:15 +01:00
committed by GitHub
parent a149cefbca
commit bbd70436f4

19
.github/workflows/blank.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "0 0 * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}