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

chore: use PAT to auto-approve Renovate PRs #161

Merged
merged 3 commits into from
Dec 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create renovate-auto-approve.yml
kayman-mk authored Dec 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 8e86a44563b070fa1b24c3985df93187e55e35ae
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

Check warning on line 14 in .github/workflows/renovate-auto-approve.yml

GitHub Actions / cspell

Unknown word (hmarr)
with:
review-message: "Auto approved Renovate PR by organization"
github-token: ${{ secrets.PAT_FOR_PR_AUTO_APPROVAL }}