Skip to content

Commit

Permalink
Run stats after install/build have been cached
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Aug 23, 2023
1 parent 3cdad38 commit e4cbcb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/stats-comment.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Stats comment

on:
pull_request:

workflow_call:
workflow_dispatch:

permissions:
pull-requests: write

jobs:
generate-stats:
name: Generate stats
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,14 @@ jobs:
# (after install and build have been cached)
uses: ./.github/workflows/screenshots.yml
secrets: inherit

generate-stats:
name: Stats comment
needs: [install, build]

permissions:
pull-requests: write

# Run existing "Stats comment" workflow
# (after install and build have been cached)
uses: ./.github/workflows/stats-comment.yml

0 comments on commit e4cbcb9

Please sign in to comment.