Skip to content

Commit

Permalink
ci: add autopilot action
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 24, 2024
1 parent ed010a5 commit 0b42b15
Showing 1 changed file with 15 additions and 0 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
if: |
contains(github.event.pull_request.labels.*.name, 'area/dependency') &&
!contains(github.event.pull_request.labels.*.name, 'do-not-merge') &&
github.actor == 'dependabot[bot]'
steps:
- uses: hmarr/auto-approve-action@v4

0 comments on commit 0b42b15

Please sign in to comment.