vj-abigo / invite-on-label Goto Github PK
View Code? Open in Web Editor NEWAutomate organization invitation based on the label (used by EddieHub org)
License: MIT License
Automate organization invitation based on the label (used by EddieHub org)
License: MIT License
No response
Nothing
1.2 (Default)
No response
No response
No response
action test
1.4 (Default)
No response
Hi,
When I got everything ready according to the tutorial, I encountered such an error.
1.4 (Default)
/home/runner/work/_actions/vj-abigo/invite-on-label/v1.4/dist/index.js:4868
const error = new requestError.RequestError(message, status, {
^
RequestError [HttpError]: Resource not accessible by integration
at /home/runner/work/_actions/vj-abigo/invite-on-label/v1.4/dist/index.js:4868:23
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async main (/home/runner/work/_actions/vj-abigo/invite-on-label/v1.4/dist/index.js:65:7) {
status: 403,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 19 Feb 2023 05:38:07 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-[11](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:12)-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '2802:80E1:2B68EE7:59A711C:63F1B5BF',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '860',
'x-ratelimit-reset': '16767878[13](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:14)',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '[14](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:15)0',
'x-xss-protection': '0'
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/Diaries-Store/support/issues/5/comments',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'octokit-core.js/3.2.4 Node.js/[16](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:17).16.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"You are already a member of our Organisation."}',
request: {
agent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype] { path: null },
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: [25](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:26)6,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 100,
_sessionCache: {
map: {
'api.github.com:4[43](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:44):::::::::::::::::::::': [Buffer [Uint8Array]]
},
list: [ 'api.github.com:[44](https://github.com/Diaries-Store/support/actions/runs/4214782807/jobs/7315467220#step:2:45)3:::::::::::::::::::::' ]
},
[Symbol(kCapture)]: false
},
hook: [Function: bound bound register]
}
},
documentation_url: 'https://docs.github.com/rest/reference/issues#create-an-issue-comment'
}
No response
invite test
1.4 (Default)
No response
Things should be in contributing.md file
Fork the repo
git clone https://github.com/vj-abigo/invite-on-label.git
invite-on-label
npm install
( make sure you have node js installed)index.js
at the root.npm run build
to build the fileDocs on creating a GitHub action: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action
Docs on octokit: https://octokit.github.io/rest.js/v18
Docs for GitHub workflow: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
Docs for workflow events: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#issues
If needed any additional changes,feel free to make those!
qwertyuiop
No response
Nothing
1.2 (Default)
No response
No response
The GitHub Actions workflow gives the following annotation while running the action:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: vj-abigo/invite-on-label
1.2 (Default)
No response
No response
Test
Hi, we tried to integrate this invite on label github workflow but it's not working since we had some trial tests
defvgb
I think I messed up somewhere after REPOSITORY SECRET
Can you please guide in detail after that step
Add issue templates to help users looking to contribute to this project.
Bug template
For errors or bugs found on the project
Feature
For adding new ideas or updates to the project.
I have a rough draft written down, if accepted I will make the required changes.
Thanks. ๐
we can add dynamic image of contributors in README.md
using https://contrib.rocks/
No response
Invitation test
1.4 (Default)
No response
Here's the Repository Link where it's installed ๐๐ป
https://github.com/Bauddhik-Geeks/Welcome-to-Bauddhik-Geeks
Here's the workflow with everything correct
https://github.com/Bauddhik-Geeks/Welcome-to-Bauddhik-Geeks/blob/main/.github/workflows/invitation.yml
We've added INVITE_TOKEN
secrets with admin:org
permission to the repository's secret.
No response
invite test
1.4 (Default)
No response
this should not be viewed u dumbass
lol jk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.