We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5103797 commit 866b316Copy full SHA for 866b316
.github/workflows/patch-speakeasy-pr.yml
@@ -9,7 +9,7 @@ on:
9
10
jobs:
11
add-extend-path:
12
- if: contains(github.event.pull_request.title, 'Update SDK - Generate')
+ if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.title, 'Update SDK - Generate')
13
runs-on: ubuntu-latest
14
permissions:
15
contents: write
@@ -34,4 +34,4 @@ jobs:
34
35
git add src/glean/__init__.py
36
git commit -m "ci: ensure extend_path lines in glean/__init__.py" || echo "No changes to commit"
37
- git push origin HEAD:${{ github.head_ref }}
+ git push origin HEAD:${{ github.head_ref || github.ref_name }}
0 commit comments