Skip to content

Change the CreateRequiredWorkflow method from PUT to POST - #2771

Merged
gmlewis merged 1 commit into
google:masterfrom
JorgeReus:fix/createRequiredWorkflowMethod
Apr 26, 2023
Merged

Change the CreateRequiredWorkflow method from PUT to POST#2771
gmlewis merged 1 commit into
google:masterfrom
JorgeReus:fix/createRequiredWorkflowMethod

Conversation

@JorgeReus

Copy link
Copy Markdown
Contributor

Fixes: #2770

Changed the method from PUT to POST, by following the github REST API docs: https://docs.github.com/en/rest/actions/required-workflows?apiVersion=2022-11-28#create-a-required-workflow

@google-cla

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gmlewisgmlewis changed the title fix: Changed the CreateRequiredWorkflow method used in the http requestChange the CreateRequiredWorkflow method from PUT to POSTApr 26, 2023

@gmlewisgmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @JorgeReus !
LGTM.
Merging.

@gmlewis
gmlewis merged commit daa96df into google:masterApr 26, 2023
jlaportebot added a commit to jlaportebot/go-github that referenced this pull request Jun 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CreateRequiredWorkflow method should be POST instead of PUT

2 participants

@JorgeReus@gmlewis