Skip to content

Conversation

@dankress
Copy link

Resolves #2696


Before the change?

  • Data source github_actions_remove_token didn't exist
  • Data Source github_actions_organization_remove_token didn't exist
  • Test for github_actions_registration_token does not work, because for new repo creation vulnerability_alerts is automatically activated, which is not reflected in tests, leading to immediate drift

After the change?

  • Data source github_actions_remove_token lets you create a self-hosted runner remove token at the repository level
  • Data source github_actions_organization_remove_token lets you create a self-hosted runner remove token at the organization level
  • Implemented tests for github_actions_remove_token and github_actions_organization_remove_token similar to tests for github_actions_registration_token and github_actions_organization_registration_token
  • Fixed test for github_actions_registration_token, by registering of test repo with activated vulnerability alerts
  • Added documentation similar to github_actions_registration_token and github_actions_organization_registration_token

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

[FEAT]: Data source for creating a remove token for self-hosted runners

1 participant