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.
1 parent 441359b commit 415189aCopy full SHA for 415189a
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