docs: update readme (#144)

This commit is contained in:
Michael Kriese 2020-07-16 12:18:00 +02:00 committed by GitHub
parent 0d217a6b14
commit 9895ba13be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,8 @@ Note that the [`GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-an
This example uses a personal access token and will run every 15 minutes. The personal access token is configured as a GitHub secret named `RENOVATE_TOKEN`. This example uses the [`example/config.js`](./example/config.js) file as configuration. This example uses a personal access token and will run every 15 minutes. The personal access token is configured as a GitHub secret named `RENOVATE_TOKEN`. This example uses the [`example/config.js`](./example/config.js) file as configuration.
You can also see a live example of this action in my [github-renovate](https://github.com/vidavidorra/github-renovate) repository, which also includes a more [advanced configuration](https://github.com/vidavidorra/github-renovate/blob/master/src/config.js) for updating GitHub Action workflows. You can also see a live example of this action in my [github-renovate](https://github.com/vidavidorra/github-renovate) repository, which also includes a more [advanced configuration](https://github.com/vidavidorra/github-renovate/blob/master/src/config.js) for updating GitHub Action workflows.
**Remark** Update the action version to the most current, see [here](https://github.com/renovatebot/github-action/releases/latest) for latest release.
```yml ```yml
name: Renovate name: Renovate
on: on:
@ -68,7 +70,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.0.0 uses: actions/checkout@v2.0.0
- name: Self-hosted Renovate - name: Self-hosted Renovate
uses: renovatebot/github-action@v1.0.0 uses: renovatebot/github-action@v21.30.0
with: with:
configurationFile: example/renovate-config.js configurationFile: example/renovate-config.js
token: ${{ secrets.RENOVATE_TOKEN }} token: ${{ secrets.RENOVATE_TOKEN }}