Skip to content

Commit

Permalink
ci: replace action 2
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 d80a915 commit 2d16f9a
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@ jobs:
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: hmarr/auto-approve-action@v4
- uses: thollander/actions-comment-pull-request@v2
with:
message: |
| Name | Value |
|---|---|
| Required Label | ${{ contains(github.event.issue.labels.*.name, 'area/dependency' }} |
| Forbidden Label | ${{ !contains(github.event.issue.labels.*.name, 'do-not-merge') }} |
| Is correct user | ${{ github.actor == 'renovate[bot]' }} |
| User | ${{ github.actor }} |
- if: |
contains(github.event.issue.labels.*.name, 'area/dependency') &&
!contains(github.event.issue.labels.*.name, 'do-not-merge') &&
github.actor == 'renovate[bot]'
uses: hmarr/auto-approve-action@v4

0 comments on commit 2d16f9a

Please sign in to comment.