Skip to content

Checking if elegible for auto-approving PR #345

Checking if elegible for auto-approving PR

Checking if elegible for auto-approving PR #345

name: Auto-approve PR
run-name: Checking if elegible for auto-approving PR
on: pull_request
jobs:
auto-approve:
name: Perform Auto-approve PR
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event.pull_request.user.login == ${{ github.repository_owner }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@6d3c2fe731c8f225990c8018cb71c337c0d9dfcd # v2.5.0
with:
egress-policy: audit
- name: Auto-approve PR via seyLu Bot
uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v3.2.1
with:
github-token: ${{ secrets.SEYLUBOT_PAT }}