From 1cb4edb651bc1082762c6bccdca52e2fc7281e4c Mon Sep 17 00:00:00 2001 From: lucas lelievre Date: Mon, 17 Nov 2025 19:14:04 +0100 Subject: [PATCH] Fix pontoon ci (#1624) --- .github/workflows/pontoon-pr.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pontoon-pr.yml b/.github/workflows/pontoon-pr.yml index 325d4b831..21ccc1164 100644 --- a/.github/workflows/pontoon-pr.yml +++ b/.github/workflows/pontoon-pr.yml @@ -3,22 +3,19 @@ on: push: branches: - pontoon - jobs: pull_request: if: ${{ github.repository == 'SlimeVR/SlimeVR-Server' }} runs-on: ubuntu-latest permissions: pull-requests: write - steps: - uses: actions/checkout@v5 with: submodules: recursive - - uses: repo-sync/pull-request@v2 - with: - destination_branch: "main" - pr_title: "New Pontoon translations" - pr_body: "Please don't squash me 🥺" - pr_label: "Area: Translation" - github_token: ${{ secrets.PONTOON_BOT_KEY }} + - name: pull-request + env: + GH_TOKEN: ${{ secrets.PONTOON_BOT_KEY }} + run: | + gh_pr_up() { gh pr create "$@" || gh pr edit "$@"; } + gh_pr_up --title "New Pontoon translations" --body "Please don't squash me 🥺" --label "Area: Translation" --base main