File tree 3 files changed +9
-11
lines changed
Filter options
3 files changed +9
-11
lines changed
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ See [octokit/rest.js](https://octokit.github.io/rest.js/) for the API client
19
19
documentation.
20
20
21
21
** Note** This action is still a bit of an experiment—the API may change in
22
- * future versions. 🙂
22
+ future versions. 🙂
23
23
24
24
## Development
25
25
42
42
comment :
43
43
runs-on : ubuntu-latest
44
44
steps :
45
- - uses : actions/github-script@0.6 .0
45
+ - uses : actions/github-script@0.8 .0
46
46
with :
47
47
github-token : ${{secrets.GITHUB_TOKEN}}
48
48
script : |
64
64
apply-label :
65
65
runs-on : ubuntu-latest
66
66
steps :
67
- - uses : actions/github-script@0.6 .0
67
+ - uses : actions/github-script@0.8 .0
68
68
with :
69
69
github-token : ${{secrets.GITHUB_TOKEN}}
70
70
script : |
85
85
welcome :
86
86
runs-on : ubuntu-latest
87
87
steps :
88
- - uses : actions/github-script@0.6 .0
88
+ - uses : actions/github-script@0.8 .0
89
89
with :
90
90
github-token : ${{secrets.GITHUB_TOKEN}}
91
91
script : |
@@ -123,14 +123,13 @@ You can use the `github` object to access the Octokit API. For
123
123
instance, `github.request`
124
124
125
125
` ` ` yaml
126
- on:
127
- pull_request
126
+ on: pull_request
128
127
129
128
jobs:
130
129
diff:
131
130
runs-on: ubuntu-latest
132
131
steps:
133
- - uses: actions/github-script@0.6 .0
132
+ - uses: actions/github-script@0.8 .0
134
133
with:
135
134
github-token: ${{secrets.GITHUB_TOKEN}}
136
135
script: |
@@ -148,9 +147,8 @@ By default, the JSON-encoded return value of the function is set as the "result"
148
147
output of a github-script step. For some workflows, string encoding is preferred. This option can be set using the
149
148
`result-encoding` input :
150
149
151
-
152
150
` ` ` yaml
153
- - uses: actions/github-script@0.6 .0
151
+ - uses: actions/github-script@0.8 .0
154
152
with:
155
153
github-token: ${{secrets.GITHUB_TOKEN}}
156
154
result-encoding: string
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " github-script" ,
3
3
"description" : " A GitHub action for executing a simple script" ,
4
- "version" : " 0.6 .0" ,
4
+ "version" : " 0.8 .0" ,
5
5
"author" : " GitHub" ,
6
6
"dependencies" : {
7
7
"@actions/core" : " ^1.2.2" ,
You can’t perform that action at this time.
0 commit comments