Make it possible to edit wiki through CI

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem Statement

I have a project which creates documentation (markdown) during the CI process. I want to be able to push the generated documentation directly from the CI. The goal is to have up-to-date documentation when I accept a merge request on my master branch.

It's the same issue as #21541 (closed). That Issue is closed but didn't resolve the problem (it just worked around it)

Note that #30769 (closed) is the Issue for allowing CI to push to repositories generally. This Issue is specifically for making the wiki editable via pushes.

Issue was refined in #237798 (closed).

Permissions and Security

Involve AppSec for the authentication changes.

Documentation

Yes:

Availability & Testing

  • Unit tests around authentication classes.
  • API request specs using deploy tokens for read and write actions on a wiki repository.
  • Feature specs for the new scopes in the project and group settings forms.

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖