Skip to content

Commit

Permalink
chore: Buduj statystyki aplikacji tylko na żądanie bo trwa to za długo (
Browse files Browse the repository at this point in the history
#84)

* Update pull-request-stats.yml

* Update pull-request-stats.yml

* Update pull-request-stats.yml
  • Loading branch information
Michał Miszczyszyn committed Dec 30, 2020
1 parent 666854b commit 91143fb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/pull-request-stats.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
pull_request:
types: [opened, synchronize]
issue_comment:
types: [created]

name: Generate Pull Request Stats

Expand All @@ -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}}

0 comments on commit 91143fb

Please sign in to comment.