commit 157a19382a144975b5c28f61fd314a62ace75c9c parent 1ac358a5b0c879a5ead67db4027cc93f960130b7 Author: Michael Neuper <michael@michaelneuper.com> Date: Mon, 28 Oct 2024 23:13:44 +0200 Create main.yml Diffstat:
| A | .github/workflows/main.yml | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.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 }}