From 286a4a56e580669a10638d9e4ccb0f1088268ec4 Mon Sep 17 00:00:00 2001 From: Florian Charlaix Date: Fri, 15 Nov 2024 16:43:41 +0100 Subject: [PATCH 1/2] Add a workflow to let @lvessiller-opendsi and @crycks merge 18.0 PR by accepting reviews --- .github/workflows/pr-18.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/pr-18.yaml diff --git a/.github/workflows/pr-18.yaml b/.github/workflows/pr-18.yaml new file mode 100644 index 0000000000000..0348a03145f6b --- /dev/null +++ b/.github/workflows/pr-18.yaml @@ -0,0 +1,18 @@ +on: + pull_request: + types: + - opened + branches: + - "18.0" + +jobs: + run: + runs-on: ubuntu-22.04 + steps: + - name: Create PR review request + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + url: ${{ github.event.pull_request.html_url }} + run: | + gh pr edit "$url" --add-assignee lvessiller-opendsi,rycks --add-reviewer lvessiller-opendsi,rycks + gh pr merge "$url" --merge --auto From 1ac1a9f8c329258a4971ba20ebc9d711a869326b Mon Sep 17 00:00:00 2001 From: Florian Charlaix Date: Fri, 15 Nov 2024 16:53:48 +0100 Subject: [PATCH 2/2] Try to fix permissions --- .github/workflows/pr-18.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-18.yaml b/.github/workflows/pr-18.yaml index 0348a03145f6b..376bf29454f0a 100644 --- a/.github/workflows/pr-18.yaml +++ b/.github/workflows/pr-18.yaml @@ -8,6 +8,8 @@ on: jobs: run: runs-on: ubuntu-22.04 + permissions: + pull-requests: write steps: - name: Create PR review request env: