diff --git a/.github/workflows/gemini-review.yml b/.github/workflows/gemini-review.yml index 1936b7d..efd0fba 100644 --- a/.github/workflows/gemini-review.yml +++ b/.github/workflows/gemini-review.yml @@ -9,7 +9,7 @@ permissions: jobs: gemini-review: - runs-on: ubuntu-latest + runs-on: ${{ fromJSON(((((github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) && vars.NEXUS_RUNS_ON_LINUX) || '["ubuntu-26.04"]')) }} steps: - uses: actions/github-script@v7 with: