| page_title | GitHub: github_actions_registration_token |
|---|---|
| description | Get a GitHub Actions repository registration token. |
Use this data source to retrieve a GitHub Actions repository registration token. This token can then be used to register a self-hosted runner.
data "github_actions_registration_token" "example" {
repository = "example_repo"
}repository- (Required) Name of the repository to get a GitHub Actions registration token for.
token- The token that has been retrieved.expires_at- The token expiration date.