Skip to content

Commit

Permalink
chore: setup release-please github action (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrobots committed May 29, 2019
1 parent 2871d3f commit b41bb7e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
workflow "Groom Release PR" {
on = "push"
resolves = ["release-pr"]
}

action "release-pr" {
uses = "googleapis/release-please/.github/action/release-please@master"
env = {
PACKAGE_NAME = "js-green-licenses"
RELEASE_PLEASE_COMMAND = "release-pr"
}
secrets = ["GITHUB_TOKEN"]
}

workflow "GitHub Release" {
on = "push"
resolves = ["github-release"]
}

action "github-release" {
uses = "googleapis/release-please/.github/action/release-please@master"
env = {
PACKAGE_NAME = "js-green-licenses"
RELEASE_PLEASE_COMMAND = "github-release"
}
secrets = ["GITHUB_TOKEN"]
}

0 comments on commit b41bb7e

Please sign in to comment.