mirror of
https://github.com/Rakantor/rakantor.git
synced 2025-12-17 17:26:32 +01:00
Create metrics.yml
This commit is contained in:
17
.github/workflows/metrics.yml
vendored
Normal file
17
.github/workflows/metrics.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
Reference in New Issue
Block a user