mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
20 lines
440 B
YAML
20 lines
440 B
YAML
name: Auto approve
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
auto-approve:
|
|
|
|
name: Auto approve Pull Request
|
|
runs-on: ubuntu-latest
|
|
|
|
## Only run this on the main repo
|
|
if: github.repository == 'Slimefun/Slimefun4'
|
|
|
|
steps:
|
|
- name: Approve via actions
|
|
uses: hmarr/auto-approve-action@v2.1.0
|
|
if: github.actor == 'TheBusyBot' || github.actor == 'renovate[bot]'
|
|
with:
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|