Skip to content

Commit b6092ab

Browse files
committed
Set default theme (word list) to Cities-20
1 parent e2950ae commit b6092ab

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These are supported funding model platforms
2+
github: koistya

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Now your PRs get friendly names automatically. Your teammates will thank you (pr
4444
| Input | Description | Required | Default |
4545
| ---------- | ------------------------------------------------------------- | -------- | ------------- |
4646
| `number` | Number to convert (auto-detects PR number) | No | Auto-detected |
47-
| `theme` | Word theme to use (see available themes below) | No | `animals-20` |
47+
| `theme` | Word theme to use (see available themes below) | No | `cities-20` |
4848
| `template` | Output template with `{codename}` and `{number}` placeholders | No | - |
4949

5050
### Outputs
@@ -59,12 +59,12 @@ Now your PRs get friendly names automatically. Your teammates will thank you (pr
5959

6060
Pick your flavor of memorable names:
6161

62-
- **Animals**: `animals-10`, `animals-20`, `animals-30`, `animals-50`, `animals-100`
63-
- **Cities**: `cities-10`, `cities-20`, `cities-30`, `cities-50`, `cities-100`
64-
- **Colors**: `colors-10`, `colors-20`, `colors-30`, `colors-50`, `colors-100`
65-
- **Food**: `food-10`, `food-20`, `food-30`, `food-50`, `food-100`
66-
- **Nature**: `nature-10`, `nature-20`, `nature-30`, `nature-50`, `nature-100`
67-
- **Plus**: adjectives, clothing, countries, elements, emotions, gems, snacks
62+
- [**Animals**](https://github.com/kriasoft/codenames/blob/main/words/animals.txt): [`animals-10`](https://github.com/kriasoft/codenames/blob/main/words/animals-10.ts), [`animals-20`](https://github.com/kriasoft/codenames/blob/main/words/animals-20.ts), [`animals-30`](https://github.com/kriasoft/codenames/blob/main/words/animals-30.ts), [`animals-50`](https://github.com/kriasoft/codenames/blob/main/words/animals-50.ts), [`animals-100`](https://github.com/kriasoft/codenames/blob/main/words/animals-100.ts)
63+
- [**Cities**](https://github.com/kriasoft/codenames/blob/main/words/cities.txt): [`cities-10`](https://github.com/kriasoft/codenames/blob/main/words/cities-10.ts), [`cities-20`](https://github.com/kriasoft/codenames/blob/main/words/cities-20.ts), [`cities-30`](https://github.com/kriasoft/codenames/blob/main/words/cities-30.ts), [`cities-50`](https://github.com/kriasoft/codenames/blob/main/words/cities-50.ts), [`cities-100`](https://github.com/kriasoft/codenames/blob/main/words/cities-100.ts)
64+
- [**Colors**](https://github.com/kriasoft/codenames/blob/main/words/colors.txt): [`colors-10`](https://github.com/kriasoft/codenames/blob/main/words/colors-10.ts), [`colors-20`](https://github.com/kriasoft/codenames/blob/main/words/colors-20.ts), [`colors-30`](https://github.com/kriasoft/codenames/blob/main/words/colors-30.ts), [`colors-50`](https://github.com/kriasoft/codenames/blob/main/words/colors-50.ts), [`colors-100`](https://github.com/kriasoft/codenames/blob/main/words/colors-100.ts)
65+
- [**Food**](https://github.com/kriasoft/codenames/blob/main/words/food.txt): [`food-10`](https://github.com/kriasoft/codenames/blob/main/words/food-10.ts), [`food-20`](https://github.com/kriasoft/codenames/blob/main/words/food-20.ts), [`food-30`](https://github.com/kriasoft/codenames/blob/main/words/food-30.ts), [`food-50`](https://github.com/kriasoft/codenames/blob/main/words/food-50.ts), [`food-100`](https://github.com/kriasoft/codenames/blob/main/words/food-100.ts)
66+
- [**Nature**](<(https://github.com/kriasoft/codenames/blob/main/words/nature.txt)>): [`nature-10`](https://github.com/kriasoft/codenames/blob/main/words/nature-10.ts), [`nature-20`](https://github.com/kriasoft/codenames/blob/main/words/nature-20.ts), [`nature-30`](https://github.com/kriasoft/codenames/blob/main/words/nature-30.ts), [`nature-50`](https://github.com/kriasoft/codenames/blob/main/words/nature-50.ts), [`nature-100`](https://github.com/kriasoft/codenames/blob/main/words/nature-100.ts)
67+
- **Plus**: [`adjectives`](https://github.com/kriasoft/codenames/blob/main/words/adjectives.txt), [`clothing`](https://github.com/kriasoft/codenames/blob/main/words/clothing.txt), [`countries`](https://github.com/kriasoft/codenames/blob/main/words/countries.txt), [`elements`](https://github.com/kriasoft/codenames/blob/main/words/elements.txt), [`emotions`](https://github.com/kriasoft/codenames/blob/main/words/emotions.txt), [`gems`](https://github.com/kriasoft/codenames/blob/main/words/gems.txt), [`snacks`](https://github.com/kriasoft/codenames/blob/main/words/snacks.txt)
6868

6969
The number indicates how many words are in that theme (more words = less chance of repeats, but potentially less memorable names).
7070

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29936,7 +29936,7 @@ try {
2993629936
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed)("Could not determine number from context or API");
2993729937
process.exit(1);
2993829938
}
29939-
const themeInput = (0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput)("theme") || "animals-20";
29939+
const themeInput = (0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput)("theme") || "cities-20";
2994029940
if (!codenames_all__WEBPACK_IMPORTED_MODULE_2__/* .themes */ .Zj.includes(themeInput)) {
2994129941
(0,_actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed)(`Invalid theme "${themeInput}". Available themes: ${codenames_all__WEBPACK_IMPORTED_MODULE_2__/* .themes */ .Zj.join(", ")}`);
2994229942
process.exit(1);

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ try {
118118
process.exit(1);
119119
}
120120

121-
const themeInput = getInput("theme") || "animals-20";
121+
const themeInput = getInput("theme") || "cities-20";
122122

123123
if (!themes.includes(themeInput as Theme)) {
124124
setFailed(

0 commit comments

Comments
 (0)