summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-20 19:33:27 +0900
committerGitHub <noreply@github.com>2023-08-20 19:33:27 +0900
commit811a8ced6a56b5750b343a214dbf81a4fe615b71 (patch)
tree0232bb0e8ed232df05030cc544e6f5dac51d5a9e /.github
parentb5752a451e93cc58b281552fc64125f807e32e15 (diff)
parent0a5c9c3cf01b623db650140c761adcd6c7c4e26b (diff)
Merge pull request #216 from themoeway/auto-approve-safe-prs
Auto-approve safe PRs
Diffstat (limited to '.github')
-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 }}