diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index cc9f11f9..10d74206 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -92,6 +92,8 @@ jobs: QUALICHARGE_EXECUTION_ENVIRONMENT: ci steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Create postgis extension run: psql "postgresql://qualicharge:pass@localhost:5432/qualicharge-api" -c "create extension postgis;" - name: Install pipenv @@ -163,7 +165,7 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add -f ../../data/bench.csv git commit -m "⚡️(api) update benchmark database" - git push origin "HEAD:${GITHUB_HEAD_REF}" + git push - name: Generate markdown table run: | echo -e "### Current benchmark\n" >> bench_admin_stats.md && \