Renovate dependency @eslint-react/eslint-plugin to ^1.12.4 #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Approval | |
on: | |
pull_request: | |
types: | |
- opened | |
jobs: | |
check: | |
name: 'check author' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Approve if author is me | |
id: check_author | |
if: ${{ github.event.pull_request.user.login == 'merrywhether' }} | |
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
github.rest.pulls.createReview({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
pull_number: context.issue.number, | |
event: 'APPROVE', | |
body: '😶🌫️' | |
}) |