Innhold
1 A bit about Copilot
GitHub Copilot is an advanced AI tool from Microsoft that can assist developers with programming.
UiO does not have the option to get a site license but purchases licenses for employees as needed. Students can apply for a student license.
GitHub Copilot processes data in the cloud, and it is therefore necessary to have some rules and for each developer to be aware of which data GitHub Copilot accesses.
2 Rules for using GitHub Copilot in the IT department
- Each developer is responsible for following the rules in their use of GitHub Copilot.
- Developers are responsible for the quality of the code they create, regardless of whether they have received assistance from GitHub Copilot. The same applies to approving and commenting on other developers' code (e.g., approving Pull Requests).
- Employees in the IT department must use the UiO account for GitHub Copilot for job-related code. This is because the terms for, among other things, training the AI system behind GitHub Copilot are different for different licenses.
- GitHub Copilot should never be used on files containing passwords or other secrets. Such files should not be opened in an IDE (development tool) in such a way that GitHub Copilot processes the data. This means, for example, that one cannot open YAML files with secrets in an IDE that has GitHub Copilot (with default settings).
- When using GitHub Copilot, there should not be any passwords or other secrets in plain text in files in the project directory on the machine. This is because GitHub Copilot in some cases has access to all files in the project directory.
- GitHub Copilot should typically only be used with official IDE plugins from GitHub. Any other plugins must be approved.
- GitHub Copilot should not be used when logged in with administrator users for UiO's "enterprise" on github.com.
3 General rules for using artificial intelligence (AI) at UiO
UiO has its own rules for publishing content created using AI in digital channels . They are not made for code but may still be useful to know.
4 Ordering GitHub Copilot
The price for staff is about NOK 200 per month, and we do not have the option to obtain a site license. It is therefore necessary to find funding.
Currently, staff can initiate obtaining a license by filling out this form . Students can find more information about student licenses on GitHub.