Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support triggering REST CI workflow on a specific ref #4823

Merged
merged 1 commit into from Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci-rest.yml
Expand Up @@ -3,6 +3,10 @@ name: REST CI
on:
workflow_call:
workflow_dispatch:
inputs:
ref:
type: string
required: false

push:
branches:
Expand Down Expand Up @@ -35,5 +39,5 @@ jobs:
token: ${{ secrets.TILEDB_REST_CI_PAT }}
# Pass TileDB core ref to test against REST.
# github.head_ref will only be set for PRs, so fallback to github.ref_name if triggered via push event.
inputs: '{ "tiledb_ref": "${{ github.head_ref || github.ref_name }}"}'
inputs: '{ "tiledb_ref": "${{ github.event.inputs.ref || github.head_ref || github.ref_name }}"}'
wait-for-completion-timeout: 90m