Skip to content

Checking if elegible for auto-approving PR #16

Checking if elegible for auto-approving PR

Checking if elegible for auto-approving PR #16

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@0c6ab70129fa3660acd9cd2b51e8685d619cd613 # v2.5.0
with:
egress-policy: audit
- name: Auto-approve PR via seyLu Bot
uses: hmarr/auto-approve-action@134e1011866211ab5b452c8ab06ea0447e888610 # v3.2.1
with:
github-token: ${{ secrets.SEYLUBOT_PAT }}