-
Notifications
You must be signed in to change notification settings - Fork 764
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
feat: Add support for GitHub Actions OpenID Connect subject claim customization templates #1473
feat: Add support for GitHub Actions OpenID Connect subject claim customization templates #1473
Conversation
/label Type: Feature |
@F21 Thank you for these contributions ❤️. We'll wait to do the final review/merge until they drop a new version of go-GitHub and it gets updated here! |
…tomization templates
A new release of |
@F21 do you mind doing me a favor when you get a moment? It would be awesome to put links to the new docs you created in the github.erb file so they're linked and more easily accessible to users. This recent PR shows an example. |
Thanks for the quick review and merge @nickfloyd and @kfcampbell ! The follow-up PR to add the missing links is in #1480. |
I've merged #1480 and will release it soon, at the same time as this PR. |
…omization-template feat: Add support for GitHub Actions OpenID Connect subject claim customization templates
Resolves #1458
Behavior
This adds support for OpenID Connect subject claim customization templates for GitHub Actions.
More information regarding this feature here: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
Note: This requires features I recently committed to google/go-github, which are currently unreleased, so it pins google/go-github toe4ff2a27f7699954c87d81d723012c1c3f0de0f1
. The PR will be updated to pin a released version ofgo-github
as soon as the maintainers tag a new release.Before the change?
It was not possible to manage OpenID Connect subject claim customization templates for GitHub Actions using Terraform.
After the change?
This change adds 2 resources and 2 data sources for managing OpenID Connect subject claim customization templates on an organization and repository basis:
github_actions_organization_oidc_subject_claim_customization_template
github_actions_repository_oidc_subject_claim_customization_template
data.github_actions_organization_oidc_subject_claim_customization_template
data.github_actions_repository_oidc_subject_claim_customization_template
Other information
None.
Additional info
Pull request checklist
Does this introduce a breaking change?
Type: Breaking change
label)Pull request type
Please add the corresponding label for change this PR introduces:
Type: Feature
Type: Documentation