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

30 lines
865 B
YAML
Raw Normal View History

2020-06-10 12:11:47 +00:00
name: Auto approve
on:
pull_request
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
2020-06-10 12:11:47 +00:00
steps:
- name: Approve via actions
uses: hmarr/auto-approve-action@v2.0.0
2020-10-05 08:01:46 +00:00
if: github.actor == 'gitlocalize-app[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve via TheBusyBot
uses: hmarr/auto-approve-action@v2.0.0
2020-06-17 22:11:44 +00:00
if: github.actor == 'gitlocalize-app[bot]' || github.actor == 'renovate[bot]'
2020-06-10 12:11:47 +00:00
with:
github-token: "${{ secrets.ACCESS_TOKEN }}"
2020-10-07 14:24:14 +00:00
- 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'