Skip to content

Commit

Permalink
ci: replace action
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur committed Oct 10, 2024
1 parent 2daa772 commit d80a915
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 26 deletions.
8 changes: 0 additions & 8 deletions .github/autoapproval.yml

This file was deleted.

27 changes: 9 additions & 18 deletions .github/workflows/autopilot.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
name: autopilot

on:
pull_request:
types:
- opened
- reopened
- labeled
- edited
pull_request_review:
types:
- dismissed

permissions:
contents: read
pull-requests: write
on: pull_request_target

jobs:
autoapproval:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: |
contains(github.event.issue.labels.*.name, 'area/dependency') &&
!contains(github.event.issue.labels.*.name, 'do-not-merge') &&
github.actor == 'renovate[bot]'
steps:
- uses: dkhmelenko/autoapproval@v1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: hmarr/auto-approve-action@v4

0 comments on commit d80a915

Please sign in to comment.