Skip to content

Commit 37413b2

Browse files
authored
Add command gh workflow allowing to use release command in comments (#15)
1 parent 6340952 commit 37413b2

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/commands.yml

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: Repo Commands
2-
3-
on:
4-
issue_comment: # Handle comment commands
5-
types: [created]
6-
pull_request_target: # Handle renamed PRs
7-
types: [edited]
8-
9-
jobs:
10-
comment-trigger:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Check out repository
14-
uses: actions/checkout@v3
15-
- name: Run command handlers
16-
uses: PrismarineJS/prismarine-repo-actions@master
17-
with:
18-
# NOTE: You must specify a Personal Access Token (PAT) with repo access here. While you can use the default GITHUB_TOKEN, actions taken with it will not trigger other actions, so if you have a CI workflow, commits created by this action will not trigger it.
19-
token: ${{ secrets.PAT_PASSWORD }}
20-
# See `Options` section below for more info on these options
21-
install-command: npm install
22-
/fixlint.fix-command: npm run fix
1+
name: Repo Commands
2+
3+
on:
4+
issue_comment: # Handle comment commands
5+
types: [created]
6+
pull_request: # Handle renamed PRs
7+
types: [edited]
8+
9+
jobs:
10+
comment-trigger:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v3
15+
- name: Run command handlers
16+
uses: PrismarineJS/prismarine-repo-actions@master
17+
with:
18+
# NOTE: You must specify a Personal Access Token (PAT) with repo access here. While you can use the default GITHUB_TOKEN, actions taken with it will not trigger other actions, so if you have a CI workflow, commits created by this action will not trigger it.
19+
token: ${{ secrets.PAT_PASSWORD }}
20+
# See `Options` section below for more info on these options
21+
install-command: npm install
22+
/fixlint.fix-command: npm run fix

0 commit comments

Comments
 (0)