File tree Expand file tree Collapse file tree 5 files changed +34
-19
lines changed
Expand file tree Collapse file tree 5 files changed +34
-19
lines changed Original file line number Diff line number Diff line change 1- name : 🧩 Challenge
1+ name : 🧩 Puzzle
22title : " [yyyy] [Day x]: "
3- description : Use this template to create an issue that represent a new Advent of Code day challenge .
3+ description : Use this template to create an issue that represent a new Advent of Code day puzzle .
44labels :
5- - challenge
5+ - puzzle
66assignees :
77 - victoraugustofd
88projects :
99 - victoraugustofd/6
1010body :
1111 - type : textarea
12- id : challenge -description
12+ id : puzzle -description
1313 attributes :
14- label : Challenge description
15- description : Paste the challenge description from Advent of Code here.
16- placeholder : Challenge description here.
14+ label : Puzzle description
15+ description : Paste the puzzle description from Advent of Code here.
16+ placeholder : puzzle description here.
1717 validations :
1818 required : true
1919 - type : textarea
20- id : challenge -input
20+ id : puzzle -input
2121 attributes :
22- label : Challenge input
23- description : Paste the challenge input from Advent of Code here.
22+ label : Puzzle input
23+ description : Paste the puzzle input from Advent of Code here.
2424 value : |
2525 ```
26- Challenge input here (keep the three backticks (`)).
26+ Puzzle input here (keep the three backticks (`)).
2727 ```
2828 validations :
2929 required : true
3030 - type : dropdown
31- id : challenge -year
31+ id : puzzle -year
3232 attributes :
33- label : Challenge year
34- description : Select the year from which this challenge is from.
33+ label : Puzzle year
34+ description : Select the year from which this puzzle is from.
3535 options :
3636 - 2024
3737 - 2023
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
1616 id : issue-parser
1717 uses : stefanbuck/github-issue-parser@v3
1818 with :
19- template-path : .github/ISSUE_TEMPLATE/challenge .yml
19+ template-path : .github/ISSUE_TEMPLATE/puzzle .yml
2020 - name : Adding milestone to issue
21212222 with :
2323 token : " ${{ secrets.ACTION_TOKEN }}"
24- milestone : " ${{ steps.issue-parser.outputs.issueparser_challenge -year }} Challenges "
24+ milestone : " ${{ steps.issue-parser.outputs.issueparser_puzzle -year }} Puzzles "
2525 - name : Run bash script to extract day from issue title
2626 id : extract
2727 run : |
3939 token : " ${{ secrets.ACTION_TOKEN }}"
4040 issue-number : ${{ github.event.issue.number }}
4141 body : |
42- ### Challenge link
43- https://adventofcode.com/${{ steps.issue-parser.outputs.issueparser_challenge -year }}/day/${{ steps.extract.outputs.day }}
42+ ### Puzzle link
43+ https://adventofcode.com/${{ steps.issue-parser.outputs.issueparser_puzzle -year }}/day/${{ steps.extract.outputs.day }}
Original file line number Diff line number Diff line change 1+ # ignore everything
2+ *
3+
4+ # accept directories
5+ ! * /
6+
7+ # accept files in folders
8+ ! .github /ISSUE_TEMPLATE /* .yml
9+ ! .github /workflows /* .yml
10+ ! puzzles /** /* .py
11+ ! puzzles /** /.keep
12+
13+ # accept files in root
14+ ! /.gitignore
15+ ! README * .md
Original file line number Diff line number Diff line change 11# advent-of-code
2- Advent of Code challenges
2+ Advent of Code puzzles
You can’t perform that action at this time.
0 commit comments