mirror of
https://github.com/PacketParker/PacketParker.git
synced 2025-04-18 21:24:48 -05:00
Update main.yml
This commit is contained in:
parent
29f8f582d6
commit
1780b90837
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@ -1,31 +1,17 @@
|
|||||||
# Visit https://github.com/lowlighter/metrics#-documentation for full reference
|
|
||||||
name: Metrics
|
name: Metrics
|
||||||
on:
|
on:
|
||||||
|
# Schedule daily updates
|
||||||
schedule: [{cron: "0 0 * * *"}]
|
schedule: [{cron: "0 0 * * *"}]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push: {branches: ["master", "main"]}
|
push: {branches: ["master", "main"]}
|
||||||
jobs:
|
jobs:
|
||||||
github-metrics:
|
github-metrics:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: production
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: packetparker/metrics@master
|
- uses: lowlighter/metrics@latest
|
||||||
with:
|
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 }}
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
|
||||||
# Options
|
|
||||||
# Options
|
|
||||||
user: PacketParker
|
|
||||||
template: classic
|
|
||||||
base: header, activity, community, repositories, metadata
|
|
||||||
config_timezone: America/Chicago
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user