Skip to content

feat: add data sources github_actions_remove_token and github_actions_organization_remove_token #2702

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

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
None yet
Development

Successfully merging this pull request may close these issues.

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