From 91143fb8dbe60eb59b2b1b2ceae5e7b704ea9dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Miszczyszyn?= Date: Wed, 30 Dec 2020 02:19:42 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20Buduj=20statystyki=20aplikacji=20tylko?= =?UTF-8?q?=20na=20=C5=BC=C4=85danie=20bo=20trwa=20to=20za=20d=C5=82ugo=20?= =?UTF-8?q?=20=20(#84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update pull-request-stats.yml * Update pull-request-stats.yml * Update pull-request-stats.yml --- .github/workflows/pull-request-stats.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-stats.yml b/.github/workflows/pull-request-stats.yml index f08b65b9..a2ad47bb 100644 --- a/.github/workflows/pull-request-stats.yml +++ b/.github/workflows/pull-request-stats.yml @@ -1,6 +1,8 @@ on: pull_request: types: [opened, synchronize] + issue_comment: + types: [created] name: Generate Pull Request Stats @@ -9,7 +11,16 @@ jobs: name: PR Stats runs-on: ubuntu-latest steps: - - uses: typeofweb/next-stats-action@master + - uses: Khan/pull-request-comment-trigger@master + id: check + with: + reaction: eyes + trigger: '@TypeOfWebBot stats' + prefix_only: true + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - if: steps.check.outputs.triggered == 'true' + uses: typeofweb/next-stats-action@master env: PR_STATS_COMMENT_TOKEN: ${{secrets.PR_STATS_COMMENT_TOKEN}} HEROKU_API_KEY: ${{secrets.HEROKU_API_KEY}}