From bbd70436f4cf7e3e63750ae85590a2fceec76162 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 29 Mar 2025 00:06:15 +0100 Subject: [PATCH] Create metrics-action --- .github/workflows/blank.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..49fa590 --- /dev/null +++ b/.github/workflows/blank.yml @@ -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 }}