Skip to content

Commit 673344d

Browse files
committed
chore(github): use config-based bot
1 parent 9534707 commit 673344d

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.github/bot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
tasks:
2+
- name: remove-label
3+
on:
4+
issue_comment:
5+
types: [created]
6+
config:
7+
label: needs-reply
8+
exclude-labeler: true
9+
- name: add-platform-labels
10+
on:
11+
issues:
12+
types: [opened, edited]
13+
- name: add-contributors
14+
on:
15+
push:
16+
branches: [master]
17+
config:
18+
base: master

.github/workflows/capacitor-bot.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@ name: Capacitor Bot
22

33
on:
44
push:
5-
branches:
6-
- master
5+
branches: [master]
76
issues:
8-
types:
9-
- opened
10-
- edited
7+
types: [opened, edited]
118
issue_comment:
12-
types:
13-
- created
9+
types: [created]
1410

1511
jobs:
1612
bot:
1713
name: ${{ github.event_name }}/${{ github.event.action }}
1814
runs-on: ubuntu-latest
1915
steps:
2016
- uses: actions/checkout@v2
21-
- uses: ionic-team/bot@fea115086a25fc19b6775c70138bcbfe9557d5f6
17+
- uses: ionic-team/bot@main
2218
with:
2319
repo-token: ${{ secrets.BOT_TOKEN }}
2420
env:

0 commit comments

Comments
 (0)