Remove octokit README updates for v7#557
Conversation
|
Hello from actions/github-script! (f048dc3) |
|
I dont understand why #508 was a breaking change if it didnt remove any functionality and didnt change existing, it only added to the api surface. Can someone elaborate? |
If users are defining a variable named For example: - uses: actions/github-script@main
with:
script: |
const octokit = github
await octokit.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: ${{ github.event.issue.number }},
body: "Hello Again!"
})That will fail with the error https://github.com/joshmgross/actions-testing/actions/runs/13551951964 |
octokitinstance from README examples doesn't work #545#508 introduced a new
octokitvariable to make it easier to use examples from GitHub and Octokit docs withinactions/github-script.That change is a breaking change so the README updates shouldn't have been made with v7.
We'll update the README to include this info again when we're ready for v8 - #556