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

30 lines
870 B
YAML

name: Auto approve
on:
pull_request
jobs:
auto-approve:
name: Auto approve Pull Request
runs-on: ubuntu-latest
steps:
- name: Approve via actions
uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'gitlocalize-app[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve via TheBusyBot
uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'gitlocalize-app[bot]' || github.actor == 'renovate[bot]'
with:
github-token: "${{ secrets.ACCESS_TOKEN }}"
- name: Add Translations label
uses: maxkomarychev/octions/octions/issues/add-labels@master
if: github.actor == 'gitlocalize-app[bot]'
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.pull_request.number }}
labels: '📄 Translations Update'