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

GitHub Tag Protection #1250

Closed
nikwotton opened this issue Aug 2, 2022 · 5 comments
Closed

GitHub Tag Protection #1250

nikwotton opened this issue Aug 2, 2022 · 5 comments
Milestone

Comments

@nikwotton
Copy link
Contributor

This is not a bug but a feature request - I don't see where best to put this other than in Issues. If I am in the wrong place, please let me know and I will move it

The feature I am requesting is being able to manage GitHub Tag Protection Rules through terraform. As far as I can tell reading through the documentation, this feature does not exist yet. I also don't see any Issues or Pull Requests currently for it, though I could've missed it. Not sure what other information to provide that would be helpful, but I will answer any questions asked of my on this Issue.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

Terraform v1.2.6
on darwin_amd64

GitHub Provider Version:

4.28.0

Affected Resource(s)

Please list the resources as a list, for example:
GitHub Provider

@jpbelangerupgrade
Copy link

We contributed to go-github to add the code to be able to access tag protection API. It would be part of the next release (v45.2.1 most probably).
ref: google/go-github#2424

@nikwotton
Copy link
Contributor Author

It looks like the code was added to go-github in version 46.0.0 which was merged into this repo in version 4.31.0. I'm not familiar enough with this repo to know what the next steps are, just updating this issue

@jfengupgrade
Copy link

forked and working on the new feature

@kuhlman-labs
Copy link
Contributor

PR Opened #1283

@kfcampbell
Copy link
Member

Fixed by #1283!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants