Skip to content

Commit

Permalink
Merge pull request #1 from bakunyo/use-env
Browse files Browse the repository at this point in the history
Drop unneeded env var
  • Loading branch information
bakunyo authored Feb 24, 2019
2 parents b34db0d + f1e317b commit 985a7f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,11 @@ action "Filter branch" {
action "git-pr-release" {
uses = "bakunyo/git-pr-release-action@master"
needs = ["Filter branch"]
secrets = [
"GIT_PR_RELEASE_TOKEN",
"GITHUB_TOKEN",
]
secrets = ["GITHUB_TOKEN"]
}
```

### Secrets(required)
#### `GIT_PR_RELEASE_TOKEN`
Add [GIT_PR_RELEASE_TOKEN](https://github.com/motemen/git-pr-release#pr-releasetoken) as [secret](https://developer.github.com/actions/creating-workflows/storing-secrets/#storing-secrets) to create pull request.

#### `GITHUB_TOKEN`
Add [GITHUB_TOKEN secret](https://developer.github.com/actions/creating-workflows/storing-secrets/#github-token-secret) to make authenticated calls to the GitHub API.

Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh

set -eu
export GIT_PR_RELEASE_TOKEN=$GITHUB_TOKEN
git-pr-release

0 comments on commit 985a7f4

Please sign in to comment.