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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

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 }}"