Skip to content

Commit 458655d

Browse files
authored
Fix GHA build workflow (#1120)
This PR fixes the condition to trigger docs-build workflow in build.yaml to: - simplify the branch assertion - ensure that it only runs on push events (as opposed to workflow_dispatch events which trigger the nightlies). @ajschmidt8 Authors: - Ajay Thorve (https://github.com/AjayThorve) - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) URL: #1120
1 parent 95461ea commit 458655d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
date: ${{ inputs.date }}
3636
sha: ${{ inputs.sha }}
3737
docs-build:
38-
if: ${{ startsWith(github.ref, 'refs/heads/branch-') }}
38+
if: github.ref_type == 'branch' && github.event_name == 'push'
3939
needs: [conda-python-build]
4040
secrets: inherit
4141
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected]

0 commit comments

Comments
 (0)