diff --git a/README.md b/README.md index 09d8341fa..1fd424580 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,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, @@ -121,7 +121,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,