From 01904b97ff4ab5b646bceb58ea5bef14140a1a3a Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Tue, 2 Feb 2021 17:12:35 +0300 Subject: [PATCH] Fix typo in Readme example $label was not defined as input argument. Also updated job name to reflect what it actually does. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae398a159..b58070c9b 100644 --- a/README.md +++ b/README.md @@ -202,14 +202,14 @@ You can use the `github.graphql` object to run custom GraphQL queries against th ```yaml jobs: - list-packages: + list-issues: runs-on: ubuntu-latest steps: - uses: actions/github-script@v3 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const query = `query($owner:String!, $name:String!) { + const query = `query($owner:String!, $name:String!, $label:String!) { repository(owner:$owner, name:$name){ issues(first:100, labels: [$label]) { nodes {