forked from csm-actions/securefix-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmdx.yaml
More file actions
38 lines (36 loc) · 907 Bytes
/
cmdx.yaml
File metadata and controls
38 lines (36 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
# cmdx - task runner
# https://github.com/suzuki-shunsuke/cmdx
tasks:
- name: release
short: r
description: release the new version
usage: release the new version
script: rjsa "$VERSION" "$PR"
args:
- name: version
required: true
validate:
- regexp: "^v\\d+\\.\\d+.\\d+(-\\d+)?$"
script_envs:
- version
- name: pr
required: false
validate:
- regexp: "^\\d+$"
script_envs:
- pr
flags:
- name: ref
required: false
script_envs:
- REF
- name: changelog
description: Create a changelog
usage: Create a changelog
script: bash scripts/changelog.sh
- name: notebook
description: Create a notebook
usage: Create a notebook
script: |
git ls-files | grep -E "\.md$" | grep -v .github | xargs cat - > securefix-action.md