1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00
Slimefun4/.github/workflows/auto-approve.yml

27 lines
594 B
YAML
Raw Normal View History

2020-06-10 12:11:47 +00:00
name: Auto approve
on: pull_request
2020-06-10 12:11:47 +00:00
permissions:
contents: read
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
# 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 == 'Slimefun/Slimefun4'
2020-06-10 12:11:47 +00:00
steps:
- name: Approve via actions
uses: hmarr/auto-approve-action@v3.1.0
2021-05-05 16:26:27 +00:00
if: github.actor == 'TheBusyBot' || github.actor == 'renovate[bot]'
with:
2021-05-05 16:54:10 +00:00
github-token: "${{ secrets.GITHUB_TOKEN }}"