From b3fb23c437af38afc9a4909e09160a172bc5fc68 Mon Sep 17 00:00:00 2001 From: Alexander Alderman Webb Date: Wed, 29 Apr 2026 14:50:56 +0200 Subject: [PATCH] ci: Limit action to update test versions to master branch --- .github/workflows/update-tox.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-tox.yml b/.github/workflows/update-tox.yml index 17a853c093..af2348cb6b 100644 --- a/.github/workflows/update-tox.yml +++ b/.github/workflows/update-tox.yml @@ -9,6 +9,7 @@ on: jobs: update-tox: name: Update test matrix + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest timeout-minutes: 10 @@ -59,7 +60,6 @@ jobs: BRANCH_NAME: ${{ steps.create-branch.outputs.branch_name }} COMMIT_TITLE: ${{ steps.create-branch.outputs.commit_title }} DATE: ${{ steps.create-branch.outputs.date }} - BASE_BRANCH: ${{ github.ref_name }} with: script: | const branchName = process.env.BRANCH_NAME; @@ -105,7 +105,7 @@ jobs: repo: context.repo.repo, title: commitTitle + ' (' + date + ')', head: branchName, - base: process.env.BASE_BRANCH, + base: 'master', body: prBody, });