GitHub Action fails (json output) #361
-
I keep on getting this error whenever I try to run the action. Here's my config file: # Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "0 * * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
token: ${{ secrets.STATS_TOKEN }}
# Options
user: lucyy-mc
template: classic
base: header, activity, community, repositories, metadata
config_timezone: Europe/London
repositories_forks: yes
config_output: json Anyone have any ideas of what I'm doing wrong? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
lowlighter
Jun 5, 2021
Replies: 1 comment
-
Hello! Sorry you had trouble, seems that Edit: This has been patched in 1a52951, you should be able to generate json files using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lowlighter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Sorry you had trouble, seems that
json
output is currently broken on both latest and master/main 😞Your config file is fine
Edit: This has been patched in 1a52951, you should be able to generate json files using
lowlighter/metrics@master
now