Skip to content

Commit

Permalink
Approve only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitii committed Feb 6, 2022
1 parent 4705443 commit 5c7bee4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Auto approve

on:
pull_request_target
pull_request_target:
types: [opened]

jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'Gitii'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: hmarr/auto-approve-action@v2
if: github.actor == 'Gitii'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 5c7bee4

Please sign in to comment.