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

fix: use PR code instead of main branch in workflow #408

Merged
merged 9 commits into from
Jan 7, 2025
8 changes: 6 additions & 2 deletions .github/workflows/test_ollama.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: main # Specify main branch

- name: Set up Python 3.10
uses: actions/setup-python@v3
Expand Down Expand Up @@ -105,6 +103,12 @@ jobs:

- name: Run the run-agent code
run: |
# Debug: Show source of code
echo "=== Code Source Info ==="
echo "Branch: $(git rev-parse --abbrev-ref HEAD)"
echo "Commit: $(git rev-parse --short HEAD)"
echo "PR: ${{ github.event.pull_request.html_url || 'Not a PR' }}"

# Run agent and capture exit code
run-agent \
--llm_name llama3:8b \
Expand Down
Loading