Skip to content

Commit c3cab1c

Browse files
Merge pull request #253 from victoraugustofd/feature/update-repository
feat: changing "challenge" to "puzzle", adding .gitignore and creatin…
2 parents c6834a0 + 80ebda4 commit c3cab1c

File tree

5 files changed

+34
-19
lines changed

5 files changed

+34
-19
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name: 🧩 Challenge
1+
name: 🧩 Puzzle
22
title: "[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.
44
labels:
5-
- challenge
5+
- puzzle
66
assignees:
77
- victoraugustofd
88
projects:
99
- victoraugustofd/6
1010
body:
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

.github/workflows/update-issue.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
2121
uses: Julexar/[email protected]
2222
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: |
@@ -39,5 +39,5 @@ jobs:
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 }}

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# advent-of-code
2-
Advent of Code challenges
2+
Advent of Code puzzles

puzzles/2015/day 1/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)