diff --git a/.github/workflows/gta.yml b/.github/workflows/gta.yml index fa08893..c3814d0 100644 --- a/.github/workflows/gta.yml +++ b/.github/workflows/gta.yml @@ -2,12 +2,12 @@ # merge, which means that I need a bot to review my own work. name: Automatic pull request approvals on: - push: + pull_request: jobs: auto-approve: runs-on: ubuntu-latest - if: ${{ github.actor == 'Geeky-cat' }} + if: ${{ github.event.pull_request.user.login == 'Geeky-cat' }} steps: diff --git a/test.txt b/test.txt index 110ed9b..f2ad6c7 100644 --- a/test.txt +++ b/test.txt @@ -1 +1 @@ -v +c