Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9bb3853

Browse filesBrowse files
authored
Merge pull request actions#201 from johan-lindqvist/fix-readme-example
docs(readme): fix README example
2 parents 441359b + 415189a commit 9bb3853
Copy full SHA for 9bb3853

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ And then export an async function from your module:
298298
```javascript
299299
module.exports = async ({github, context, core}) => {
300300
const {SHA} = process.env
301-
const commit = await github.repos.getCommit({
301+
const commit = await github.rest.repos.getCommit({
302302
owner: context.repo.owner,
303303
repo: context.repo.repo,
304304
ref: `${SHA}`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.