-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Description
I get error Unhandled error: TypeError: github.orgs.cancelInvitation is not a function
with this code:
- name: CancelInvitation
uses: actions/github-script@v4
[...]
script: |
github.orgs.cancelInvitation({
org: "organization",
invitation_id: 00000,
});
A call from console.log('Test: ', github.orgs);
shows that the method is really missing.
Another little question:
I use allway in my GH-Workflows the octokit methods with "github." instead of "octokit.rest."
Wrong?
Metadata
Metadata
Assignees
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs