Skip to content

Commit

Permalink
Add workflow to generate stats for release (#6836)
Browse files Browse the repository at this point in the history
This adds triggering the PR Stats GitHub Action for a canary release. It compares the latest canary release with the last stable release and posts it as a comment to the commit.
  • Loading branch information
ijjk authored and timneutkens committed Mar 30, 2019
1 parent 6bb8327 commit f6439ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ workflow "Generate pull request stats" {
resolves = ["PR Stats"]
}

workflow "Generate release stats" {
on = "release"
resolve = ["PR Stats"]
}

action "PR Stats" {
uses = "zeit/next-stats-action@master"
secrets = ["GITHUB_TOKEN"]
Expand Down

0 comments on commit f6439ae

Please sign in to comment.