From 6537be502beb6ec24d09026f88f1fccf1f716890 Mon Sep 17 00:00:00 2001 From: Etienne <995474+etiennetremel@users.noreply.github.com> Date: Mon, 13 May 2024 16:51:22 +0200 Subject: [PATCH] docs: add section about commit signing using GitHub App (#838) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f03a73ee..cdf60c4f 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,22 @@ jobs: token: '${{ steps.get_token.outputs.token }}' ``` +### Commit signing with GitHub App + +Renovate can sign commits when deployed as a GitHub App by utilizing GitHub's API-based commits. +To activate this, ensure that `platformCommit` is set to `true` in global config. +If a configuration file is defined, include `platformCommit: true` to activate this feature. +For example: + +```yaml +- name: Self-hosted Renovate + uses: renovatebot/github-action@v40.1.11 + with: + token: '${{ steps.get_token.outputs.token }}' + env: + RENOVATE_PLATFORM_COMMIT: 'true' +``` + ## Environment Variables If you wish to pass through environment variables through to the Docker container that powers this action you need to prefix the environment variable with `RENOVATE_`.