Skip to content

Commit 6c04ff3

Browse files
fix: restrict to speakeasy branches to address CodeQL warning
1 parent cef5edd commit 6c04ff3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/align_pyproject_version.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ permissions:
1313

1414
jobs:
1515
align-version:
16-
if: github.event.workflow_run.conclusion == 'success'
16+
if: >
17+
github.event.workflow_run.conclusion == 'success' &&
18+
startsWith(github.event.workflow_run.head_branch, 'speakeasy-sdk-regen-')
1719
runs-on: ubuntu-latest
1820
steps:
1921
- name: Checkout PR branch

0 commit comments

Comments
 (0)