Skip to content

Commit

Permalink
remove PR trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
sixianyi0721 committed Jan 23, 2025
1 parent 6ee1339 commit 328f941
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: auto-tests

on:
pull_request:
# pull_request:
workflow_dispatch:
inputs:
commit_sha:
description: 'Specific Commit SHA to trigger on'
required: false
default: $GITHUB_SHA # default to the last commit of $GITHUB_REF branch

jobs:
test-llama-stack-as-library:
Expand All @@ -16,9 +21,13 @@ jobs:
provider: [fireworks, together]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_sha }}

- name: Echo branch name
run: echo "Running on branch ${{ github.ref }}"
- name: Echo commit SHA
run: |
echo "Triggered on commit SHA: ${{ github.event.inputs.commit_sha }}"
git rev-parse HEAD
- name: Install dependencies
run: |
Expand Down

0 comments on commit 328f941

Please sign in to comment.