We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 441359b + 415189a commit 9bb3853Copy full SHA for 9bb3853
README.md
@@ -298,7 +298,7 @@ And then export an async function from your module:
298
```javascript
299
module.exports = async ({github, context, core}) => {
300
const {SHA} = process.env
301
- const commit = await github.repos.getCommit({
+ const commit = await github.rest.repos.getCommit({
302
owner: context.repo.owner,
303
repo: context.repo.repo,
304
ref: `${SHA}`
0 commit comments