Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed Feb 28, 2020
1 parent 0cb5c91 commit 80a5e94
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See [octokit/rest.js](https://octokit.github.io/rest.js/) for the API client
documentation.

**Note** This action is still a bit of an experiment—the API may change in
*future versions. 🙂
future versions. 🙂

## Development

Expand All @@ -42,7 +42,7 @@ jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@0.6.0
- uses: actions/github-script@0.8.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -64,7 +64,7 @@ jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@0.6.0
- uses: actions/github-script@0.8.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -85,7 +85,7 @@ jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@0.6.0
- uses: actions/github-script@0.8.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down Expand Up @@ -123,14 +123,13 @@ You can use the `github` object to access the Octokit API. For
instance, `github.request`

```yaml
on:
pull_request
on: pull_request
jobs:
diff:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@0.6.0
- uses: actions/github-script@0.8.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -148,9 +147,8 @@ By default, the JSON-encoded return value of the function is set as the "result"
output of a github-script step. For some workflows, string encoding is preferred. This option can be set using the
`result-encoding` input:


```yaml
- uses: actions/github-script@0.6.0
- uses: actions/github-script@0.8.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github-script",
"description": "A GitHub action for executing a simple script",
"version": "0.6.0",
"version": "0.8.0",
"author": "GitHub",
"dependencies": {
"@actions/core": "^1.2.2",
Expand Down

0 comments on commit 80a5e94

Please sign in to comment.