Create main.yml

This commit is contained in:
Parker M. 2024-12-19 07:01:36 +00:00 committed by GitHub
parent b9eb4ee2f6
commit 90ca49db3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
.github/workflows/main.yml vendored Normal file
View File

@ -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