aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/auto-approve.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 19:19:02 +0900
committerGitHub <noreply@github.com>2023-08-20 19:19:02 +0900
commit0a5c9c3cf01b623db650140c761adcd6c7c4e26b (patch)
tree0232bb0e8ed232df05030cc544e6f5dac51d5a9e /.github/workflows/auto-approve.yml
parentb5752a451e93cc58b281552fc64125f807e32e15 (diff)
Auto-approve safe PRs
Diffstat (limited to '.github/workflows/auto-approve.yml')
-rw-r--r--.github/workflows/auto-approve.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml
new file mode 100644
index 00000000..05523ae3
--- /dev/null
+++ b/.github/workflows/auto-approve.yml
@@ -0,0 +1,15 @@
+name: Auto-Approve Safe PRs
+
+on: pull_request_target
+
+jobs:
+ auto-approve:
+ runs-on: ubuntu-latest
+ environment: themoeway-bot
+ permissions:
+ pull-requests: write
+ if: github.actor == 'djahandarie'
+ steps:
+ - uses: hmarr/auto-approve-action@44888193675f29a83e04faf4002fa8c0b537b1e4 # v3.2.1
+ with:
+ github-token: ${{ secrets.THEMOEWAY_BOT_PAT }}