Skip to content

Commit

Permalink
ci: add autopilot
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 10, 2024
1 parent f1803ac commit aacf095
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/autopilot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: autopilot

on: pull_request_target

jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- if: |
contains(github.event.pull_request.labels.*.name, 'area/dependency') &&
!contains(github.event.pull_request.labels.*.name, 'do-not-merge') &&
github.actor == 'renovate[bot]'
uses: hmarr/auto-approve-action@v4
10 changes: 8 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "config:recommended" ],
"labels": [ "area/dependency" ],
"automerge": true,
"labels": [
"area/dependency"
],
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"enabled": true
"enabled": true,
"labels": [
"kind/security"
]
}
}

0 comments on commit aacf095

Please sign in to comment.