Skip to content

Commit

Permalink
refactor: 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaffah committed Nov 19, 2024
1 parent 186f349 commit 8c77a24
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: metrics
name: Metrics
on:
# Schedule updates
schedule: [{ cron: "0 22 * * 0" }]
push: { branches: "main" }
workflow_dispatch:
push: { branches: "main" }
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
# See action.yml for all options
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
token: ${{ secrets.METRICS_TOKEN }}
# GITHUB_TOKEN is a special auto-generated token restricted to current repository, which is used to push files in it
committer_token: ${{ github.token }}
output_action: commit
committer_message: "chore: update metrics"
plugin_isocalendar: yes
Expand Down

0 comments on commit 8c77a24

Please sign in to comment.