Skip to content

Commit

Permalink
docs(GitHub Actions): Add alternative trigger options (#1471)
Browse files Browse the repository at this point in the history
These options work the same as the curl command, but use a GitHub App so there's no need to provision and manage a Personal Access Token in order to trigger the Semantic Release action.
  • Loading branch information
abatilo committed May 6, 2020
1 parent 22321cf commit a62bc7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/recipes/github-actions.md
Expand Up @@ -66,3 +66,8 @@ To trigger a release, call (with a [Personal Access Tokens](https://help.github.
```
$ curl -v -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/[org-name-or-username]/[repository]/dispatches -d '{ "event_type": "semantic-release" }'
```

If you'd like to use a GitHub app to manage this instead of creating a personal access token, you could consider using a project like:

* [Actions Panel](https://www.actionspanel.app/) - A declaratively configured way for triggering GitHub Actions
* [Action Button](https://github-action-button.web.app/#details) - A simple badge based mechanism for triggering GitHub Actions

0 comments on commit a62bc7c

Please sign in to comment.