ministryofjustice / modernisation-platform

A place for the core work of the Modernisation Platform • This repository is defined and managed in Terraform
https://user-guide.modernisation-platform.service.justice.gov.uk
MIT License
680 stars 289 forks source link

Integrate ServiceNow bot with Modernisation Platform repositories #7951

Closed dms1981 closed 1 month ago

dms1981 commented 1 month ago

User Story

As a Change and Release lead I want to integrate ServiceNow with Modernisation Platform GitHub repositories So that ServiceNow can track changes happening in GitHub

Value / Purpose

As part of a wider initiative to give ServiceNow visibility into GitHub changes we've been asked to give the operations-engineering-servicenow GitHub account admin permissions for our repositories. This user account is tied to a bot.

Hopefully this is pretty simple - something like this in our github directory:

resource "github_repository_collaborator" "servicenow" {
  for_each   = toset(local.list-of-repositories)
  repository = each.key
  username   = "operations-engineering-servicenow"
  permission = "admin"
}

Useful Contacts

No response

Additional Information

The following Slack conversations are useful starting points:

Definition of Done

dms1981 commented 1 month ago

On discussion with @connormaglynn we'd like to understand the requirement for admin access prior to implementing this.

markgov commented 1 month ago

Closing this issue as admin is too high access request for our repo David Elliot to reply with requester