j0b10 / aoc-badges-action Goto Github PK
View Code? Open in Web Editor NEWGithub Action to update the badges of your Readme to show your current Advent of Code stats
License: MIT License
Github Action to update the badges of your Readme to show your current Advent of Code stats
License: MIT License
I have all years in one repo and it will be nice to have the total stars collected among all years under one badge.
You can see it on this page: https://adventofcode.com/events
Total stars: n*
Default regex for this badge could be:
'(?<=https:\/\/img\.shields\.io\/badge\/total%20stars%20⭐-)[0-9]+(?=-yellow)'
How could we go about configuring for multiple years? I have all years in a single repo and would love to show status of each year.
I'm new to Github so apologies if this is a bad question. Am I supposed to upload the private key as a secret for the checkout@v3 action? Tried it with the public key but it failed with "Permission Denied (publickey)". The obvious solution would be to upload the private one but I'm asking this just to be safe.
The aoc-badges workflow updated my readme to count 6 completed days, though I had only completed 5 days and at the time it updated the readme, the challenges for the day weren't even public.
the commit can be seen here
Since we now have the day and the days completed badge(#2), it could be pretty confusing to some people which one means what.
Also, the day badge is not really useful to everyone
https://github.com/J0B10/AdventOfCode2021/runs/4439869640?check_suite_focus=true
Fetching leaderboard data from : https://adventofcode.com/2021/leaderboard/private/view/658601.json
Could not parse leaderboard json. Is the leaderboard url correct & your session code valid?
Expecting value: line 1 column 1 (char 0)
There should be given at least the reponses http status code to determine why the response body was empty.
@LeMoonStar would like a badge that displays the completed days instead of the current days, see #1.
I would recommend simplifying the setup with a GitHub action for committing instead of recommending people create and store SSH keys:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.