Update and rename main.yml to auto-approve.yml

This commit is contained in:
Aleksandr Statciuk 2019-10-08 05:25:34 +03:00 committed by GitHub
parent 994e40b8f8
commit d5549f7545
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

11
.github/workflows/auto-approve.yml vendored Normal file
View file

@ -0,0 +1,11 @@
name: Auto approve
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'github-actions' || github.actor == 'github-actions[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"