2020-06-10 12:11:47 +00:00
|
|
|
name: Auto approve
|
|
|
|
|
2021-05-10 21:18:36 +00:00
|
|
|
on: pull_request
|
2020-06-10 12:11:47 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
auto-approve:
|
2020-09-03 08:57:03 +00:00
|
|
|
|
|
|
|
name: Auto approve Pull Request
|
2020-06-10 12:11:47 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-09-03 08:57:03 +00:00
|
|
|
|
2021-05-10 21:18:36 +00:00
|
|
|
## Only run this on the main repo
|
|
|
|
if: github.repository == 'Slimefun/Slimefun4'
|
|
|
|
|
2020-06-10 12:11:47 +00:00
|
|
|
steps:
|
2020-09-11 15:50:38 +00:00
|
|
|
- name: Approve via actions
|
2021-03-16 23:10:04 +00:00
|
|
|
uses: hmarr/auto-approve-action@v2.1.0
|
2021-05-05 16:26:27 +00:00
|
|
|
if: github.actor == 'TheBusyBot' || github.actor == 'renovate[bot]'
|
2020-09-11 15:50:38 +00:00
|
|
|
with:
|
2021-05-05 16:54:10 +00:00
|
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|