-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(github): add capacitor community bot support (#39)
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tasks: | ||
- name: remove-label | ||
on: | ||
issue_comment: | ||
types: [created] | ||
config: | ||
label: "needs reply" | ||
exclude-labeler: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Capacitor Community Bot | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
issues: | ||
types: [opened, edited] | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
bot: | ||
name: ${{ github.event_name }}/${{ github.event.action }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ionic-team/bot@main | ||
with: | ||
repo-token: ${{ secrets.BOT_TOKEN }} | ||
env: | ||
GIT_AUTHOR_NAME: Capacitor Community Bot | ||
GIT_AUTHOR_EMAIL: [email protected] | ||
GIT_COMMITTER_NAME: Capacitor Community Bot | ||
GIT_COMMITTER_EMAIL: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Close old proposals that need more information | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Close old proposals that need more information | ||
uses: dwieeb/needs-reply@v1 | ||
with: | ||
repo-token: ${{ secrets.BOT_TOKEN }} | ||
issue-label: "needs reply" | ||
close-message: | | ||
It looks like this proposal didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot. | ||
Have a great day! | ||
Capacitor Community Bot 💙 |