1
0
Fork 0
This repository has been archived on 2024-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
Ellie-bot/.github/workflows/auto-approve.yml

27 lines
568 B
YAML
Raw Normal View History

2022-07-24 05:59:15 -07:00
name: Auto approve
on: pull_request
permissions:
contents: read
jobs:
auto-approve:
name: Auto approve Pull Request
runs-on: ubuntu-latest
# for hmarr/auto-approve-action to approve PRs
permissions:
pull-requests: write
# Only run this on the main repo
if: github.event.pull_request.head.repo.full_name == 'EllieBotDevs/Ellie-bot'
steps:
- name: Approve via actions
uses: hmarr/auto-approve-action@v2.2.1
2023-04-10 00:54:06 -07:00
if: github.actor == 'dependabot[bot]'
2022-07-24 05:59:15 -07:00
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"