Comments (4)
This issue is stale because it has been open for 60 days with no activity. Remove the "Stale" label or comment on the issue, or it will be closed in 7 days.
from github-script.
This is likely due to a semi-outdated Octokit package. We update Octokit periodically, but if anything's been added in the last week or so, gitHub-script won't have it, yet.
from github-script.
In v18.x.x checkMembership
was renamed to checkMembershipForUser
octokit.orgs.checkMembershipForUser({
org,
username,
});
https://octokit.github.io/rest.js/v18#orgs-check-membership-for-user
From the changelog:
octokit.orgs.checkMembership() has been renamed to octokit.orgs.checkMembershipForUser()
https://github.com/octokit/rest.js/releases/tag/v18.0.0
from github-script.
👍 Thanks @jclem and @andrewsomething
from github-script.
Related Issues (20)
- Allow changing the directory where the script runs HOT 1
- How to add an issue to a project? HOT 3
- Make an API call to a self-hosted/enterprise instance
- Add `.github/workflows` path to `require` paths
- unable to create commit HOT 2
- REST API "CreateCommitStatus" returning a 404 HOT 3
- Rest endpoint to delete comments returning 404
- Goes incorrectly toward api.github.com on Github Enterprise after upgrading to v7 HOT 10
- How to reference a separate script file which processes and returns output? HOT 4
- How to make conditional check on a label name that includes emoji HOT 2
- Unable to resolve action `actions/github-script@v7`, unable to find version `v7` HOT 4
- workflow_sha and workflow_ref are not populated HOT 2
- Regression with v7 when trying to iterate over pull requests. HOT 4
- [BUG]: rest.packages.listPackagesForOrganization return 400 Invalid argument with package type 'container' HOT 1
- HTTP status 422 when creating a protected branch HOT 2
- Feature: Support for ECMAScript Modules (ESM) in GitHub Actions - "actions/github-scripts" HOT 3
- Multi-line output showing unknown characters HOT 1
- Unhandled error: TypeError: Cannot read properties of undefined (reading 'includes') HOT 1
- Tips
- Update octokit dependency to match online documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-script.