mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 08:52:35 +00:00
docs: update readme (#144)
This commit is contained in:
parent
0d217a6b14
commit
9895ba13be
1 changed files with 3 additions and 1 deletions
|
|
@ -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 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue