mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
docs: fix badges (#661)
This commit is contained in:
parent
7c1c4555bc
commit
dfabf3ef5e
1 changed files with 16 additions and 16 deletions
14
README.md
14
README.md
|
|
@ -19,12 +19,11 @@ GitHub Action to run Renovate self-hosted.
|
||||||
## Badges
|
## Badges
|
||||||
|
|
||||||
| Badge | Description | Service |
|
| Badge | Description | Service |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------------------- |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------------------- |
|
||||||
| <a href="https://github.com/prettier/prettier#readme"><img alt="code style" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a> | Code style | Prettier |
|
| <a href="https://github.com/prettier/prettier#readme"><img alt="code style" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a> | Code style | Prettier |
|
||||||
| <a href="https://conventionalcommits.org"><img alt="Conventional Commits: 1.0.0" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square"></a> | Commit style | Conventional Commits |
|
| <a href="https://conventionalcommits.org"><img alt="Conventional Commits: 1.0.0" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square"></a> | Commit style | Conventional Commits |
|
||||||
| <a href="https://renovatebot.com"><img alt="Renovate enabled" src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square"></a> | Dependencies | Renovate |
|
| <a href="https://renovatebot.com"><img alt="Renovate enabled" src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square"></a> | Dependencies | Renovate |
|
||||||
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/workflow/status/renovatebot/github-action/Build?style=flat-square"></a> | Build | GitHub Actions |
|
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/actions/workflow/status/renovatebot/github-action/build.yml?style=flat-square"></a> | Build | GitHub Actions |
|
||||||
| <a href="https://github.com/renovatebot/github-action/actions"><img alt="GitHub workflow status" src="https://img.shields.io/github/workflow/status/renovatebot/github-action/Example?style=flat-square"></a> | Example | GitHub Actions |
|
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
|
@ -134,6 +133,7 @@ If you wish to pass through environment variables through to the Docker Run that
|
||||||
For example if you wish to pass through some credentials for a [host rule](https://docs.renovatebot.com/configuration-options/#hostrules) to the `config.js` then you should do so like this.
|
For example if you wish to pass through some credentials for a [host rule](https://docs.renovatebot.com/configuration-options/#hostrules) to the `config.js` then you should do so like this.
|
||||||
|
|
||||||
1. In your workflow pass in the environment variable
|
1. In your workflow pass in the environment variable
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
....
|
....
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -152,16 +152,16 @@ jobs:
|
||||||
```
|
```
|
||||||
|
|
||||||
2. In `example/renovate-config.js` include the hostRules block
|
2. In `example/renovate-config.js` include the hostRules block
|
||||||
```js
|
|
||||||
|
|
||||||
|
```js
|
||||||
module.exports = {
|
module.exports = {
|
||||||
hostRules: [
|
hostRules: [
|
||||||
{
|
{
|
||||||
hostType: 'terraform-module',
|
hostType: 'terraform-module',
|
||||||
matchHost: 'app.terraform.io',
|
matchHost: 'app.terraform.io',
|
||||||
token: proccess.env.RENOVATE_TFE_TOKEN
|
token: proccess.env.RENOVATE_TFE_TOKEN,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue