Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "chore: widen schedule window" #69

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/pre-commit.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate renovate config

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Validate
uses: rinchsan/renovate-config-validator@1ea1e8514f6a33fdd71c40b0a5fa3512b9e7b936 # tag=v0.0.12
18 changes: 0 additions & 18 deletions .pre-commit-config.yaml

This file was deleted.

21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Check [docs.renovatebot.com/config-presets](https://docs.renovatebot.com/config-

Renovate will open a „Dependency Dashboard“ issue in each repository, tracking outstanding or rejected updates. This issue will have three sections:

- **Awaiting Schedule**: renovate has detected an update, but has not yet run during the scheduled time to open Pull Requests (see the `schedule` configuration)
- **Open**: There is an open Pull Request for those updates
- **Ignored or Blocked**: Those updates are blocked because the existing Pull Request was closed.
* **Awaiting Schedule**: renovate has detected an update, but has not yet run during the scheduled time to open Pull Requests (see the `schedule` configuration)
* **Open**: There is an open Pull Request for those updates
* **Ignored or Blocked**: Those updates are blocked because the existing Pull Request was closed.

### Simple

Expand All @@ -37,14 +37,14 @@ When adding an extension, always use the `description` field to give a short sum

### Team/project presets

:warning: Note that this repository is public. If you need to add internal configuration, talk to the Platform team on Slack.

You can add presets to this repository. Please name them accordingly, e.g. `infrastructure.json` for an infrastructure team specific config. To ensure global defaults are included, please extend the `default.json` in that preset. If you want to add another label, your config could look like this:

```json
{
"description": "Custom configuration for infrastructure team that will add other labels then the default",
"labels": ["different-label"]
"labels": [
"different-label"
]
}
```

Expand All @@ -54,10 +54,7 @@ To use this preset, you will then set the following in `renovate.json` in your r

```json
{
"extends": [
"github>anaconda/renovate-config",
"github>anaconda/renovate-config:infrastructure"
]
"extends": ["github>anaconda/renovate-config", "github>anaconda/renovate-config:infrastructure"]
}
```

Expand All @@ -71,5 +68,5 @@ There are also [presets](https://docs.renovatebot.com/presets-default/) you can

Common settings you might want to change are:

- [`schedule`](https://docs.renovatebot.com/configuration-options/#schedule): Specifies when renovate runs
- [`labels`](https://docs.renovatebot.com/configuration-options/#labels): Add labels to the PR.
* [`schedule`](https://docs.renovatebot.com/configuration-options/#schedule): Specifies when renovate runs
* [`labels`](https://docs.renovatebot.com/configuration-options/#labels): Add labels to the PR.
2 changes: 1 addition & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
}
],
"schedule": [
"every weekday before noon"
"before 6am every weekday"
],
"semanticCommits": "enabled",
"timezone": "UTC"
Expand Down
6 changes: 3 additions & 3 deletions docs/Dockerfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

To upgrade dependencies in a `Dockerfile` that are not automatically recognized, there is a configuration using regex matching.

You need to define your dependency version as an `ENV` var and then use it later on. The env variable name _must_ end in `_VERSION`.
You need to define your dependency version as an `ENV` var and then use it later on. The env variable name *must* end in `_VERSION`.

An example:

Expand All @@ -17,5 +17,5 @@ RUN curl -L -O https://repo.continuum.io/miniconda/Miniconda3-py38_${MINICONDA_V

The `# renovate: datasource=github-tags depName=conda/conda` tells renovate which

- [`datasource`](https://docs.renovatebot.com/modules/datasource/) to use, check the linked docs for all datasource you can use.
- `depName` to use. This is the name of the dependency and specific for the datasource. For e.g. GitHub, it is `{organization}/{repository}`.
* [`datasource`](https://docs.renovatebot.com/modules/datasource/) to use, check the linked docs for all datasource you can use.
* `depName` to use. This is the name of the dependency and specific for the datasource. For e.g. GitHub, it is `{organization}/{repository}`.
8 changes: 4 additions & 4 deletions docs/conda-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Renovate has a conda datasource already, so we can manually tag dependencies to use it.

To do so, you need to add the line `# renovate: datasource=conda depName=${channel}/${dependency}` _directly above_ the line with your dependency.
To do so, you need to add the line `# renovate: datasource=conda depName=${channel}/${dependency}` *directly above* the line with your dependency.

You can also capture pypi dependencies by placing the line `# renovate: datasource=pypi` _directly above_ the line with your dependency
You can also capture pypi dependencies by placing the line `# renovate: datasource=pypi` *directly above* the line with your dependency

Note: You must specify the exact current version of your conda dependency before Renovate will recognize available upgrades

Expand All @@ -27,6 +27,6 @@ dependencies:
- yapf=0.31.0
- pip
- pip:
# renovate: datasource=pypi
- uvicorn==0.17.6
# renovate: datasource=pypi
- uvicorn==0.17.6
```
1 change: 1 addition & 0 deletions docs/tflint-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Annotate your `.tflint.hcl` file as follows:


```hcl
plugin "aws" {
enabled = true
Expand Down