diff --git a/.github/workflows/capacitor-bot.yml b/.github/workflows/capacitor-bot.yml new file mode 100644 index 0000000000..e53bfcb3a1 --- /dev/null +++ b/.github/workflows/capacitor-bot.yml @@ -0,0 +1,19 @@ +name: Capacitor Bot + +on: + issues: + types: + - opened + - edited + issue_comment: + types: + - created + +jobs: + bot: + name: ${{ github.event_name }}/${{ github.event.action }} + runs-on: ubuntu-latest + steps: + - uses: ionic-team/capacitor-bot@master + with: + repo-token: ${{ secrets.BOT_TOKEN }} diff --git a/.github/workflows/remove-needs-reply.yml b/.github/workflows/remove-needs-reply.yml deleted file mode 100644 index e1aa5d4ab3..0000000000 --- a/.github/workflows/remove-needs-reply.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Remove needs-reply label - -on: - issue_comment: - types: - - created - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Remove needs-reply label - uses: octokit/request-action@v2.x - continue-on-error: true - with: - route: DELETE /repos/:repository/issues/:issue/labels/:label - repository: ${{ github.repository }} - issue: ${{ github.event.issue.number }} - label: needs-reply - env: - GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}