Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Create renovate-auto-approve.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kayman-mk authored Dec 7, 2023
1 parent 2c8dbba commit 68a3eb6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/renovate-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Approve all Renovate PRs automatically

# yamllint disable-line rule:truthy
on: pull_request_target

jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'renovate[bot]'
steps:
- uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
with:
review-message: "Auto approved Renovate PR by organization"
github-token: ${{ secrets.PAT_FOR_PR_AUTO_APPROVAL }}

0 comments on commit 68a3eb6

Please sign in to comment.