Update main.yml

This commit is contained in:
Parker M. 2024-12-19 08:00:44 +00:00 committed by GitHub
parent 29f8f582d6
commit 1780b90837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,31 +1,17 @@
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "0 0 * * *"}]
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- uses: packetparker/metrics@master
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# - repo
# The following additional scopes may be required:
# - read:org (for organization related metrics)
# - read:user (for user related data)
# - read:packages (for some packages related data)
# - repo (optional, if you want to include private repositories)
token: ${{ secrets.METRICS_TOKEN }}
# Options
# Options
user: PacketParker
template: classic
base: header, activity, community, repositories, metadata
config_timezone: America/Chicago