From 90ca49db3e1620ec3ebded746e065f19f2776c6e Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 19 Dec 2024 07:01:36 +0000 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..aac5ed5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +name: Metrics +on: + # Schedule daily updates + schedule: [{cron: "0 0 * * *"}] + # 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: packetparker/metrics@master