How do I use Git commit signing with the Repository files API?
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=385726)
</details>
<!--IssueSummary end-->
### Summary
References:
https://docs.gitlab.com/ee/user/project/repository/gpg_signed_commits/
https://docs.gitlab.com/ee/api/repository_files.html
I cannot see how to make GPG signed commits using the Repository files API. Is this a missing feature, i.e. a bug or have I missed some key documentation?
### Steps to reproduce
Have a CI pipeline which makes a couple of commits
- first commit uses "direct from command line" Git using the instructions described in the "GPG signed commits" document above
- second commit uses the GitLab Repository Files API - this second commit is never signed and I cannot see how to make it so.
### Example Project
Sorry, in the middle of a large project so hard to pull out the code.
### What is the current *bug* behavior?
Commits made via the GitLab Repository API are not GPG signed.
### What is the expected *correct* behavior?
Commits made via the GitLab Repository API should (optionally based on e.g. URL parameter) be GPG signed.
issue