Skip to content

Commit

Permalink
add automerge capabilities to renovatebot
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Manuel "Kang" Perez committed Sep 11, 2023
1 parent 976ebae commit ac719da
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:base",
"github>txqueuelen/.github//renovate/automerge-workflows-all.json",

"github>txqueuelen/.github//renovate/automerge-docker-digest.json",

"github>txqueuelen/.github//renovate/automerge-all-patch.json",
"github>txqueuelen/.github//renovate/automerge-all-minor.json"
],
"regexManagers": [
{
Expand All @@ -18,13 +24,9 @@
"packageRules": [
{
// Group all debian images together.
"matchPackagePatterns": [
"debian"
],
"matchPaths": [
"Dockerfile"
],
"groupName": "Debian base images",
"matchPackagePatterns": [ "debian" ],
"matchPaths": [ "Dockerfile" ],
"groupName": "Debian base images"
}
]
}
7 changes: 5 additions & 2 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Release image

on:
push:
branches: [main]
branches:
- main
- renovate/**

permissions:
contents: read
Expand Down Expand Up @@ -30,8 +32,9 @@ jobs:
release-image:
needs: [get-versions]
uses: txqueuelen/.github/.github/workflows/common-docker-releaser.yaml@reusable-workflows/common-docker-releaser
uses: txqueuelen/.github/.github/workflows/common-docker-releaser.yaml@main
with:
tags: ${{ needs.get-versions.outputs.tags }}
push: ${{ github.ref_name == github.event.repository.default_branch }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ac719da

Please sign in to comment.