Release @actions/github v.5.0.0 (#783)

* update latest octokit definitions

* update package versions

* update link in release notes

* update tsc version
This commit is contained in:
Thomas Boop
2021-05-04 16:20:38 -04:00
committed by GitHub
parent 393feda10a
commit 208fa83feb
8 changed files with 82 additions and 100 deletions
@@ -49,7 +49,7 @@ describe('@actions/github', () => {
}
const octokit = getOctokit(token)
const branch = await octokit.repos.getBranch({
const branch = await octokit.rest.repos.getBranch({
owner: 'actions',
repo: 'toolkit',
branch: 'main'
@@ -85,7 +85,7 @@ describe('@actions/github', () => {
agent: new https.Agent()
}
})
const branch = await octokit.repos.getBranch({
const branch = await octokit.rest.repos.getBranch({
owner: 'actions',
repo: 'toolkit',
branch: 'main'