generated from kotlin-hands-on/advent-of-code-kotlin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cd07ad
commit 4cfb9a2
Showing
3 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Update AoC Badges 22 | ||
on: | ||
push: | ||
paths-ignore: | ||
- 'src/solutions23/**' | ||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 # clones your repo | ||
|
||
- uses: joblo2213/aoc-badges-action@v3 | ||
with: | ||
userid: 2263584 | ||
session: ${{ secrets.SESSION }} | ||
|
||
# Optional inputs: | ||
year: 2022 # The year for which stats should be retrieved | ||
# leaderboard: 'https://adventofcode.com/2020/leaderboard/private/view/00000.json' # The url of the leaderboard from witch the data is fetched. Typically your private leaderboard. | ||
# file: 'README.md' # The file that contains the badges | ||
# dayRegex: '(?<=https:\/\/img\.shields\.io\/badge\/day%20π -)[0-9]+(?=-blue)' # Regular expression that finds the content of the day badge in your file. | ||
starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/β%20stars%20β-)[0-9]+(?=-yellow)' # Regular expression that finds the content of the stars badge in your file. | ||
daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/days%20completed-)[0-9]+(?=-blue)' # Regular expression that finds the content of the days completed badge iun your file. | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 # Step that pushes these local changes back to your github repo | ||
with: | ||
commit_message: Update badges | ||
file_pattern: README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters