Skip to content

Commit

Permalink
chore(github): use config-based bot
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Jun 19, 2020
1 parent 9534707 commit 673344d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
18 changes: 18 additions & 0 deletions .github/bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
tasks:
- name: remove-label
on:
issue_comment:
types: [created]
config:
label: needs-reply
exclude-labeler: true
- name: add-platform-labels
on:
issues:
types: [opened, edited]
- name: add-contributors
on:
push:
branches: [master]
config:
base: master
12 changes: 4 additions & 8 deletions .github/workflows/capacitor-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@ name: Capacitor Bot

on:
push:
branches:
- master
branches: [master]
issues:
types:
- opened
- edited
types: [opened, edited]
issue_comment:
types:
- created
types: [created]

jobs:
bot:
name: ${{ github.event_name }}/${{ github.event.action }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ionic-team/bot@fea115086a25fc19b6775c70138bcbfe9557d5f6
- uses: ionic-team/bot@main
with:
repo-token: ${{ secrets.BOT_TOKEN }}
env:
Expand Down

0 comments on commit 673344d

Please sign in to comment.