Skip to content

Checking if elegible for auto-approving PR #108

Checking if elegible for auto-approving PR

Checking if elegible for auto-approving PR #108

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@80b2fcb96ae248b7b80d284855acf93c338a6a0a # 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 }}