Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 01904b9

Browse filesBrowse files
authored
Fix typo in Readme example
$label was not defined as input argument. Also updated job name to reflect what it actually does.
1 parent 315fb4f commit 01904b9
Copy full SHA for 01904b9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,14 @@ You can use the `github.graphql` object to run custom GraphQL queries against th
202202
```yaml
203203
204204
jobs:
205-
list-packages:
205+
list-issues:
206206
runs-on: ubuntu-latest
207207
steps:
208208
- uses: actions/github-script@v3
209209
with:
210210
github-token: ${{secrets.GITHUB_TOKEN}}
211211
script: |
212-
const query = `query($owner:String!, $name:String!) {
212+
const query = `query($owner:String!, $name:String!, $label:String!) {
213213
repository(owner:$owner, name:$name){
214214
issues(first:100, labels: [$label]) {
215215
nodes {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.