diff --git a/CHANGELOG.md b/CHANGELOG.md index f5d553a..0109e36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project (post v2.1.0) adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## Unreleased +### Fixed +- `slang`, `gitlab-ci`: Pass `--no-project` to `uv run` so the calling repository's `pyproject.toml` is no longer discovered and synced before running the action's scripts. ## 2.5.1 - 2026-06-09 ### Added diff --git a/gitlab-ci/action.yml b/gitlab-ci/action.yml index 27513a7..6d6c431 100644 --- a/gitlab-ci/action.yml +++ b/gitlab-ci/action.yml @@ -63,4 +63,4 @@ runs: run: | export SHA=${{ github.sha }} if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then export SHA=${{ github.event.pull_request.head.sha }}; fi - uv run --with requests ${{ github.action_path }}/gitlab-ci.py $SHA ${{ inputs.token }} ${{ inputs.domain }} ${{ inputs.repo }} ${{ inputs.api-version }} ${{ inputs.retry-count }} ${{ inputs.retry-period }} ${{ inputs.poll-count }} ${{ inputs.poll-period }} + uv run --no-project --with requests ${{ github.action_path }}/gitlab-ci.py $SHA ${{ inputs.token }} ${{ inputs.domain }} ${{ inputs.repo }} ${{ inputs.api-version }} ${{ inputs.retry-count }} ${{ inputs.retry-period }} ${{ inputs.poll-count }} ${{ inputs.poll-period }} diff --git a/slang/action.yml b/slang/action.yml index c16812a..bfcd668 100644 --- a/slang/action.yml +++ b/slang/action.yml @@ -45,7 +45,7 @@ runs: - name: Run slang shell: bash - run: uv run --with "pyslang==${{ inputs.pyslang-version }}" ${{ github.action_path }}/run_slang.py "${{ inputs.slang-flags }}" slang_diags.json + run: uv run --no-project --with "pyslang==${{ inputs.pyslang-version }}" ${{ github.action_path }}/run_slang.py "${{ inputs.slang-flags }}" slang_diags.json - name: Setup reviewdog uses: reviewdog/action-setup@v1 @@ -58,7 +58,7 @@ runs: env: REVIEWDOG_GITHUB_API_TOKEN: ${{ inputs.token }} run: | - uv run ${{ github.action_path }}/slang_to_rdjson.py slang_diags.json \ + uv run --no-project ${{ github.action_path }}/slang_to_rdjson.py slang_diags.json \ | reviewdog -f=rdjson \ -name=${{ inputs.reviewdog-name }} \ -reporter=${{ inputs.reviewdog-reporter }} \