Skip to content

Commit

Permalink
chore: Configure Renovate (#121)
Browse files Browse the repository at this point in the history
Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)!
This is an onboarding PR to help you understand and configure settings
before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate,
simply close this Pull Request unmerged.



---
### Detected Package Files

 * `.github/workflows/release.yaml` (github-actions)
 * `.github/workflows/test.yml` (github-actions)
 * `pyproject.toml` (pep621)
 * `pyproject.toml` (poetry)
 * `.pre-commit-config.yaml` (pre-commit)
 * `.github/workflows/test.yml` (regex)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Hopefully safe environment variables to allow users to configure.
  - Show all Merge Confidence badges for pull requests.
  - Enable Renovate Dependency Dashboard creation.
- Use semantic commit type `fix` for dependencies and `chore` for all
others if semantic commits are in use.
- Ignore `node_modules`, `bower_components`, `vendor` and various
test/tests (except for nuget) directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.
  - Enable the pre-commit manager.
  - Removes rate limit for PR creation per hour.
  - Rebase existing PRs any time the base branch has been updated.
  - Update `_VERSION` environment variables in GitHub Action files.
  - Automerge `patch` upgrades if they pass tests.
  - Run Renovate on following schedule: * * * * 0,6

🔡 Do you want to change how Renovate upgrades your dependencies? Add
your custom config to `renovate.json` in this branch. Renovate will
update the Pull Request description the next time it runs.

---

### What to Expect

With your current configuration, Renovate will create 2 Pull Requests:

<details>
<summary>chore(deps): update dependency mypy to v1.15.0</summary>

  - Schedule: ["* * * * 0,6"]
  - Branch name: `renovate/mypy-1.x-lockfile`
  - Merge into: `main`
  - Upgrade [mypy](https://redirect.github.com/python/mypy) to `1.15.0`


</details>

<details>
<summary>chore(deps): lock file maintenance</summary>

  - Schedule: ["* * * * 0,6"]
  - Branch name: `renovate/lock-file-maintenance`
  - Merge into: `main`
  - Regenerate lock files to use latest dependency versions

</details>


---

❓ Got questions? Check out Renovate's
[Docs](https://docs.renovatebot.com/), particularly the Getting Started
section.
If you need any further assistance then you can also [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).


---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/edgarrmondragon/tap-socketdev).


<!--renovate-config-hash:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
renovate[bot] and edgarrmondragon authored Feb 5, 2025
1 parent 35b32f3 commit 0e336ef
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 76 deletions.
54 changes: 0 additions & 54 deletions .github/dependabot.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
// https://github.com/edgarrmondragon/.github/blob/main/renovate/singer.json5
"edgarrmondragon/.github//renovate/singer.json5",
],
}
6 changes: 0 additions & 6 deletions .github/workflows/constraints.txt

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
package_version: ${{ steps.baipp.outputs.package_version }}
steps:
Expand All @@ -20,7 +20,7 @@ jobs:
id: baipp

publish:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build
environment:
name: publishing
Expand Down
36 changes: 22 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,23 @@ concurrency:

env:
FORCE_COLOR: "1"
# renovate: datasource=pypi depName=nox
NOX_VERSION: 2024.10.9
# renovate: datasource=pypi depName=nox-poetry
NOX_POETRY_VERSION: 1.1.0
# renovate: datasource=pypi depName=pip
PIP_VERSION: 25.0
# renovate: datasource=pypi depName=poetry
POETRY_VERSION: 2.0.1
# renovate: datasource=pypi depName=poetry-plugin-export
POETRY_PLUGIN_EXPORT_VERSION: 1.9.0

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
NOXPYTHON: ${{ matrix.python-version }}
NOXSESSION: tests
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
strategy:
fail-fast: false
max-parallel: 2
Expand All @@ -65,20 +74,20 @@ jobs:

- name: Upgrade pip
run: |
pip install pip
pip install pip==${{ env.PIP_VERSION }}
pip --version
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
pipx install poetry==${{ env.POETRY_VERSION }}
pipx inject poetry poetry-plugin-export==${{ env.POETRY_PLUGIN_EXPORT_VERSION }}
poetry --version
poetry self show plugins
- name: Install Nox
run: |
pipx install nox
pipx inject nox nox-poetry
pipx install nox==${{ env.NOX_VERSION }}
pipx inject nox nox-poetry==${{ env.NOX_POETRY_VERSION }}
nox --version
- name: Run tests
Expand All @@ -89,10 +98,9 @@ jobs:
nox --verbose
typing:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
NOXSESSION: mypy
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -106,20 +114,20 @@ jobs:

- name: Upgrade pip
run: |
pip install pip
pip install pip==${{ env.PIP_VERSION }}
pip --version
- name: Install Poetry
run: |
pipx install poetry
pipx inject poetry poetry-plugin-export
pipx install poetry==${{ env.POETRY_VERSION }}
pipx inject poetry poetry-plugin-export==${{ env.POETRY_PLUGIN_EXPORT_VERSION }}
poetry --version
poetry self show plugins
- name: Install Nox
run: |
pipx install nox
pipx inject nox nox-poetry
pipx install nox==${{ env.NOX_VERSION }}
pipx inject nox nox-poetry==${{ env.NOX_POETRY_VERSION }}
nox --version
- name: Run typing checks
Expand Down

0 comments on commit 0e336ef

Please sign in to comment.