From 99650ab906dd385514a295545a1a357d6dc80b24 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 19 Dec 2025 13:09:07 -0600 Subject: [PATCH] CI: Update backport Action to use new secret token When using the default GitHub token, no further Actions are triggered, which means a backport PR is not checked against the normal CI runs, and it should be. This switches to using a token generated by the freecad-ci-runner GitHub account. --- .github/workflows/backport.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index cd810ea855..448e9b3c5d 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -29,12 +29,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + token: ${{ secrets.GH_TOKEN_FOR_CI_RUNNERS }} - name: Create backport pull requests uses: korthout/backport-action@d07416681cab29bf2661702f925f020aaa962997 # v3.4.1 with: # Inputs documented here: https://github.com/korthout/backport-action?tab=readme-ov-file#inputs - github_token: ${{ github.token }} + github_token: ${{ secrets.GH_TOKEN_FOR_CI_RUNNERS }} github_workspace: ${{ github.workspace }} # permit PRs with merge commits to be backported