-
Notifications
You must be signed in to change notification settings - Fork 1
80 lines (75 loc) · 2.81 KB
/
aoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: Update AoC Badges
on:
schedule:
- cron: '6 5 1-25 12 *'
workflow_dispatch:
push:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2015
starsRegex: '(?<=\[2015\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2016
starsRegex: '(?<=\[2016\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2017
starsRegex: '(?<=\[2017\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2018
starsRegex: '(?<=\[2018\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2019
starsRegex: '(?<=\[2019\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2020
starsRegex: '(?<=\[2020\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2021
starsRegex: '(?<=\[2021\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2022
starsRegex: '(?<=\[2022\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2023
starsRegex: '(?<=\[2023\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: joblo2213/aoc-badges-action@v3
with:
userid: 373470
session: ${{ secrets.AOC_SESSION }}
year: 2024
starsRegex: '(?<=\[2024\]\(https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update badges
file_pattern: README.md