-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
ci: fix HTTP PUT
request to the GitHub REST API
#1664
base: master
Are you sure you want to change the base?
ci: fix HTTP PUT
request to the GitHub REST API
#1664
Conversation
I tried nearly every option specified in the GitHub Docs, both with fine-grained and legacy tokens, but
The property The request itself successfully executes manually with header
so there is no mistake in it. @derberg, do you have ideas on what else could be researched? |
@aeworxet If it is working manually then there is some problem in the workflow itself. Could you try passing secrets.GH_TOKEN to github-token itself? You could try this endpoint as well https://docs.github.com/en/rest/orgs/members?apiVersion=2022-11-28#create-an-organization-invitation Also better would be to use their calls itself instead of raw API calls.https://octokit.github.io/rest.js/v21/#orgs-create-invitation |
MAINTAINERS.yaml
PUT
request to the GitHub REST API
This PR attempts to fix the HTTP
PUT
request to the GitHub REST API.It is merged despite some uncertainty, as the necessary conditions can be met only in production environment.
Related to #1620