diff --git a/README.md b/README.md index bbae14e..fd9199d 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ By default, requests made with the `github` instance will not be retried. You ca result-encoding: string retries: 3 script: | - github.rest.issues.get({ + return github.rest.issues.get({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, @@ -190,7 +190,7 @@ You can also configure which status codes should be exempt from retries via the retries: 3 retry-exempt-status-codes: 400,401 script: | - github.rest.issues.get({ + return github.rest.issues.get({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,