Skip to content

Commit 93c2ff2

Browse files
committed
Run the checks on master, batch Dependabot and add templates
The workflows only ran on pull requests, so anything committed straight to master was never checked. Run them on pushes to master too, with a read only token and a concurrency group so superseded runs are cancelled. Move Dependabot to weekly and group the action updates into a single pull request instead of one per action. Add issue forms for a better solution, a credit correction and a paste only solution, so they collect the details CONTRIBUTING.md asks for, and a pull request checklist.
1 parent e6d6d4a commit 93c2ff2

6 files changed

Lines changed: 150 additions & 1 deletion

File tree

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Steam thread
4+
url: https://steamcommunity.com/app/792100/discussions/0/1739968490573286109/
5+
about: Post a solution or discuss the puzzles on Steam instead.
6+
- name: OCD+ challenge stat page
7+
url: https://tomorrowcorporation.com/7billionhumansStats/
8+
about: The shortest and fastest known solutions the tables are compared against.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Credit correction
2+
description: Claim or correct the credit for a solution
3+
labels: ["question"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
The Contributor column records who provided a solution here, which is not always who found it first.
9+
Earlier discovery can be credited if it was posted somewhere public and dated.
10+
- type: input
11+
id: level
12+
attributes:
13+
label: Level
14+
description: The year number and puzzle name, and whether it is the size, speed or both row.
15+
placeholder: Year 50 - Cubical Communication (size)
16+
validations:
17+
required: true
18+
- type: input
19+
id: credit
20+
attributes:
21+
label: Who should be credited?
22+
description: A name, and a link to a GitHub or Steam profile if there is one.
23+
validations:
24+
required: true
25+
- type: input
26+
id: evidence
27+
attributes:
28+
label: Link to the earlier posting
29+
description: A dated public link — a Steam thread, forum post, video or similar.
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: notes
34+
attributes:
35+
label: Anything else
36+
description: For example if the solution was found independently by several people.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Paste-only solution
2+
description: Flag a listed solution that cannot be typed into the game's editor
3+
labels: ["question"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Solutions that can only be entered by pasting the text in are marked 📋 in the tables.
9+
The level a command becomes available at is easy to get wrong, so please say what you checked.
10+
- type: input
11+
id: level
12+
attributes:
13+
label: Level
14+
description: The year number and puzzle name, and whether it is the size, speed or both row.
15+
placeholder: Year 06 - Little Exterminator 1 (both)
16+
validations:
17+
required: true
18+
- type: input
19+
id: command
20+
attributes:
21+
label: Which command cannot be built?
22+
placeholder: pickup c,s
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: evidence
27+
attributes:
28+
label: How did you check?
29+
description: For example which options the editor offers at that level, or where the command is first unlocked.
30+
validations:
31+
required: true
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Better solution
2+
description: Report a solution that beats one in the tables
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
If you can open a pull request instead, please do — it is quicker and you keep the credit.
9+
- type: input
10+
id: level
11+
attributes:
12+
label: Level
13+
description: The year number and puzzle name.
14+
placeholder: Year 34 - Seek and Destroy 1
15+
validations:
16+
required: true
17+
- type: dropdown
18+
id: type
19+
attributes:
20+
label: What does it improve?
21+
options:
22+
- Size
23+
- Speed
24+
- Both
25+
validations:
26+
required: true
27+
- type: input
28+
id: scores
29+
attributes:
30+
label: Size and speed
31+
description: The numbers the game reports when the solution finishes.
32+
placeholder: 7 commands, 890 steps
33+
validations:
34+
required: true
35+
- type: input
36+
id: reliability
37+
attributes:
38+
label: How often does it succeed?
39+
description: 99%+, 50-99% or under 50%. Say how you worked it out if it is not obvious.
40+
placeholder: 99%+
41+
validations:
42+
required: true
43+
- type: textarea
44+
id: solution
45+
attributes:
46+
label: The solution
47+
description: Paste the solution exactly as the game exports it.
48+
render: text
49+
validations:
50+
required: true
51+
- type: checkboxes
52+
id: pasteable
53+
attributes:
54+
label: Entering it
55+
options:
56+
- label: This solution has to be pasted in, because the editor cannot build it at that level

.github/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@ updates:
66
- package-ecosystem: "github-actions"
77
directory: "/"
88
schedule:
9-
interval: "daily"
9+
interval: "weekly"
10+
groups:
11+
# One pull request for all action updates rather than one per action
12+
github-actions:
13+
patterns:
14+
- "*"

.github/pull_request_template.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Thanks for contributing! Delete anything below that does not apply. -->
2+
3+
## What is this?
4+
5+
<!-- e.g. "Year 34 Seek and Destroy 1 (size) down to 7 commands" -->
6+
7+
## Checklist
8+
9+
- [ ] The file is named `Year NUM - NAME (TYPE).txt` and is in the folder that matches how often it succeeds
10+
- [ ] The README row is updated, with the size and speed the game reports
11+
- [ ] `python check_names.py` and `python check_readme.py` both pass
12+
- [ ] Marked 📋 if the solution has to be pasted in because the editor cannot build it at that level
13+
- [ ] Credited to the right person (see [CONTRIBUTING.md](../CONTRIBUTING.md))

0 commit comments

Comments
 (0)