Skip to content

Commit

Permalink
Add renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and NextFire committed Nov 6, 2023
1 parent 95fcde1 commit ea30a04
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
schedule:
- cron: "0 12 * * *"
push:
branches: ["main"]
branches: ["main", "renovate/*"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Check if image already exists
id: check
if: env.REGISTRY == 'ghcr.io'
if: (github.event_name == 'schedule') && (env.REGISTRY == 'ghcr.io')
continue-on-error: true
run: |
GHCR_TOKEN=$(echo ${{ secrets.GITHUB_TOKEN }} | base64)
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
context: .
file: ${{ steps.prepare.outputs.DOCKERFILE }}
platforms: ${{ matrix.plateforms }}
push: true
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down
18 changes: 18 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"packageRules": [
{
"matchUpdateTypes": ["patch", "digest"],
"automerge": true,
"automergeType": "branch"
},
{
"matchUpdateTypes": ["minor"],
"matchCurrentVersion": "!/^0/",
"automerge": true,
"automergeType": "branch",
"excludePackageNames": ["python"]
}
]
}

0 comments on commit ea30a04

Please sign in to comment.