github-activity-readme: Getting Actions Error
` Set up job Run actions/checkout@v21s
Run jamesgeorge007/github-activity-readme@master0s **> ✖ fatal No events found
Run jamesgeorge007/github-activity-readme@master ⬤ debug Getting activity for arshsahzad ⬤ debug Activity for arshsahzad, 100 events found. ✖ fatal No events found**
Post Run actions/checkout@v20s Complete job`
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (3 by maintainers)
There was a code deploy to index.js just prior to the errors starting…
Latest commit 03e9e23
My money is on that change…
I think it’s a code bug
I’m getting a different error -
This seems to be because git is exiting with status code 1, not 0 - which triggers this code here - https://github.com/jamesgeorge007/github-activity-readme/blob/0c90e51e3422f9e2de5fcc1763ff94d6117b51fe/index.js#L48-L52
I believe this is caused because Git exits with error code 1 when there are no changes to commit, causing the action to fatally fail.
This issue is fixed in my PR #18