cmyr-template-cli 1.31.3 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plopfile.js CHANGED
@@ -1045,7 +1045,7 @@ async function initGithubWorkflows(projectPath, answers) {
1045
1045
  const loading = ora__default["default"]('正在初始化 Github Workflows ……').start();
1046
1046
  try {
1047
1047
  const { isInitSemanticRelease } = answers;
1048
- const files = ['.github/workflows/test.yml'];
1048
+ const files = ['.github/workflows/test.yml', '.github/workflows/todo.yml'];
1049
1049
  const dir = path__default["default"].join(projectPath, '.github/workflows');
1050
1050
  if (!await fs__default["default"].pathExists(dir)) {
1051
1051
  await fs__default["default"].mkdirp(dir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.31.3",
3
+ "version": "1.32.0",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@ jobs:
11
11
  release:
12
12
  name: Release
13
13
  runs-on: ubuntu-latest
14
- timeout-minutes: 10
14
+ timeout-minutes: 30
15
15
  permissions:
16
16
  packages: write
17
17
  contents: write
@@ -0,0 +1,21 @@
1
+ name: Run TODO to Issue
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ # 仅取消针对当前工作流正在进行的作业或运行
7
+ concurrency:
8
+ group: ${{ github.workflow }}-${{ github.ref }}
9
+ cancel-in-progress: true
10
+
11
+ jobs:
12
+ build:
13
+ permissions:
14
+ issues: write
15
+ contents: read
16
+ timeout-minutes: 10
17
+ runs-on: "ubuntu-latest"
18
+ steps:
19
+ - uses: "actions/checkout@v4"
20
+ - name: "TODO to Issue"
21
+ uses: "alstr/todo-to-issue-action@v4"