Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paulness authored Dec 13, 2018
1 parent 9a29eda commit d375ace
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# trigger-circleci-workflow-action
Triggers a CircleCI workflow from Github actions
Triggers a CircleCI workflow from Github actions.

## How to enable for your repository

Add a file in your repo called `.github/main.workflow`

Insert this into that file
```
workflow "on pull request open, trigger circleci workflow" {
on = "pull_request"
resolves = ["trigger-circleci-workflow"]
}
action "trigger-circleci-workflow" {
uses = "paulness/trigger-circleci-workflow-action@master"
secrets = ["CIRCLE_TOKEN"]
}
```

Add your `CIRCLE_TOKEN` secret on the secrets settings page for you repository e.g.
`https://github.com/<YOUR USERNAME/ORG>/<YOUR REPO>/settings/secrets`

0 comments on commit d375ace

Please sign in to comment.