mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
docs: add section about commit signing using GitHub App (#838)
This commit is contained in:
parent
fb25c83195
commit
6537be502b
1 changed files with 16 additions and 0 deletions
16
README.md
16
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_`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue