Skip to content

Commit d25a0cb

Browse files
ci: Limit update-tox action to master branch (#6172)
1 parent 051cc01 commit d25a0cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update-tox.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
update-tox:
1111
name: Update test matrix
12+
if: github.ref == 'refs/heads/master'
1213
runs-on: ubuntu-latest
1314
timeout-minutes: 10
1415

@@ -59,7 +60,6 @@ jobs:
5960
BRANCH_NAME: ${{ steps.create-branch.outputs.branch_name }}
6061
COMMIT_TITLE: ${{ steps.create-branch.outputs.commit_title }}
6162
DATE: ${{ steps.create-branch.outputs.date }}
62-
BASE_BRANCH: ${{ github.ref_name }}
6363
with:
6464
script: |
6565
const branchName = process.env.BRANCH_NAME;
@@ -105,7 +105,7 @@ jobs:
105105
repo: context.repo.repo,
106106
title: commitTitle + ' (' + date + ')',
107107
head: branchName,
108-
base: process.env.BASE_BRANCH,
108+
base: 'master',
109109
body: prBody,
110110
});
111111

0 commit comments

Comments
 (0)