Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an Auto invite to the organization. #113

Closed
sanjay-kv opened this issue May 19, 2024 · 25 comments · Fixed by #123 or #128
Closed

Create an Auto invite to the organization. #113

sanjay-kv opened this issue May 19, 2024 · 25 comments · Fixed by #123 or #128
Assignees
Labels
⭐goal: addition Part of new Goals set for this project. gssoc level3

Comments

@sanjay-kv
Copy link
Member

sanjay-kv commented May 19, 2024

Join the Recode Hive GitHub Org by raising an [issue](you will receive an invitation on mail)
https://github.com/Recode-Hive
Let me know any further queries on this.

Refer the sample.

@sanjay-kv
Copy link
Member Author

@Asymtode712 I merged all PR in this repo. can you work on this?

@Asymtode712
Copy link
Contributor

@sanjay-kv Sure, please assign me

@sanjay-kv
Copy link
Member Author

after this let me know any good github actions to improve overall organisation outlook I will assign those to you in level 2

@sanjay-kv sanjay-kv added the ⭐goal: addition Part of new Goals set for this project. label May 19, 2024
@Asymtode712
Copy link
Contributor

Sure, PM😉

@sanjay-kv sanjay-kv pinned this issue May 19, 2024
@Asymtode712
Copy link
Contributor

@sanjay-kv I'm done with the creation of the workflow and template files just wanted to remind you once you will merge this file the people who would raise the issue to join the community would get added into the organization's member list which currently you and @okaditya84 are part of, so should i proceed with the PR?

@sanjay-kv
Copy link
Member Author

@Asymtode712 They won't be having merge access right? If then it's fine.

@sanjay-kv
Copy link
Member Author

sanjay-kv commented May 19, 2024

Small change: Currently when people open issue its opening in Stack overflow repo which can create conflicts with other issues.
So I created new repo called support.

Can the issue raise go there. If you want to create new issue under gssoc you can do that. else this issue will do.

@Asymtode712
Copy link
Contributor

Sure, I will transfer it to support repo. No need for creating another issue

@Asymtode712
Copy link
Contributor

@sanjay-kv Before that, you will have to create a PAT (Personal Access Token) and assign it to INVITE_TOKEN so that the workflow can run

@Asymtode712
Copy link
Contributor

@sanjay-kv also you must create a new label by the name "invite me to the community", only then the label can be assigned to an issue while creating it

@Asymtode712
Copy link
Contributor

@sanjay-kv I tested the new workflow file and came to the conclusion that even if we raise the issue in another repo 'support' it would still be reflected in our 'Stackoverflow-Analysis' repo's closed issues section

@Asymtode712
Copy link
Contributor

Asymtode712 commented May 19, 2024

@sanjay-kv Also my contribution which was merged earlier in this repo for this issue is also valid, you just have to do 2 things:

  • Create a custom label by the name "invite me to the community".
  • Create a PAT(Personal Access Token) with the permissions: admin:org, user, repo and assign it to INVITE_TOKEN as the new environment secret.

Additionally,

  • If a Error: 'Resource not accessible by integration' occurs then we would have to create another PAT with permissions: repo and assign it to PERSONAL_ACCESS as new environment secret and replace instances of 'GITHUB_TOKEN' with it.

@Asymtode712
Copy link
Contributor

@sanjay-kv I have explained every possibility now waiting for your final orders PM😅

@sanjay-kv
Copy link
Member Author

sanjay-kv commented May 20, 2024

invite me to the community

https://github.com/Recode-Hive/Support/issues/labels

This is done. +Created PAT Tokens. need to assign to env secret. will do n confirm

@sanjay-kv
Copy link
Member Author

@sanjay-kv I tested the new workflow file and came to the conclusion that even if we raise the issue in another repo 'support' it would still be reflected in our 'Stackoverflow-Analysis' repo's closed issues section

That fine if it goes to closed PR

@sanjay-kv
Copy link
Member Author

@sanjay-kv Also my contribution which was merged earlier in this repo for this issue is also valid, you just have to do 2 things:

  • Create a custom label by the name "invite me to the community".
  • Create a PAT(Personal Access Token) with the permissions: admin:org, user, repo and assign it to INVITE_TOKEN as the new environment secret.

Additionally,

  • If a Error: 'Resource not accessible by integration' occurs then we would have to create another PAT with permissions: repo and assign it to PERSONAL_ACCESS as new environment secret and replace instances of 'GITHUB_TOKEN' with it.

I will fix the PAT tokens soon and update you.

@Asymtode712
Copy link
Contributor

@sanjay-kv I tested the new workflow file and came to the conclusion that even if we raise the issue in another repo 'support' it would still be reflected in our 'Stackoverflow-Analysis' repo's closed issues section

That fine if it goes to closed PR

Correction: It would go to closed issues

@Asymtode712
Copy link
Contributor

@sanjay-kv Also my contribution which was merged earlier in this repo for this issue is also valid, you just have to do 2 things:

  • Create a custom label by the name "invite me to the community".
  • Create a PAT(Personal Access Token) with the permissions: admin:org, user, repo and assign it to INVITE_TOKEN as the new environment secret.

Additionally,

  • If a Error: 'Resource not accessible by integration' occurs then we would have to create another PAT with permissions: repo and assign it to PERSONAL_ACCESS as new environment secret and replace instances of 'GITHUB_TOKEN' with it.

I will fix the PAT tokens soon and update you.

Sure, take your time

@Asymtode712
Copy link
Contributor

invite me to the community

https://github.com/Recode-Hive/Support/issues/labels

This is done. +Created PAT Tokens. need to assign to env secret. will do n confirm

You must create this in this particular repo as the issue would be raised from here

@Asymtode712
Copy link
Contributor

Asymtode712 commented May 20, 2024

@sanjay-kv I guess I have confused you a bit, let me explain you the whole scenario again and explain you have I tested the workflows:

  1. Raise an issue from Stackoverflow-Analysis repo by selecting the invitation template.
  2. Workflow would begin, check for the revelant label, if the label is matched it would take this issue to the Support repo and close it in Stackoverflow-Analysis repo which would be then reflected in Closed issues.
  3. If the labels are not matched then the issue would remain in Stackoverflow-Analysis repo and workflow would be stopped.
  4. Once the issue is transferred to Support repo's open issues, the further invitation workflow would be carried out

Now, invitation.yml template and invitation.yml workflow will still be in this repo

I guess this will help you

@Asymtode712
Copy link
Contributor

@sanjay-kv Any updates??

Also, Ensure this so that you get rid of that integration error:

allow workflow

@sanjay-kv
Copy link
Member Author

sanjay-kv commented May 20, 2024

are you up for a call: I kinda confused on the workflow area.
Updated the level to level3 as you spent long time on this issue.

@sanjay-kv sanjay-kv added level3 and removed level2 labels May 20, 2024
@Asymtode712
Copy link
Contributor

@sanjay-kv sure

@sanjay-kv
Copy link
Member Author

send you message on linkedin @Asymtode712

@Asymtode712
Copy link
Contributor

@sanjay-kv Hope it works now🤞

@sanjay-kv sanjay-kv unpinned this issue May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐goal: addition Part of new Goals set for this project. gssoc level3
Projects
2 participants