diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 84f39b7ebd..f4ac8bdd5a 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,7 +9,7 @@ on: types: [opened, edited] discussion: types: [created] - pull_request_target: + pull_request: branches: [main] types: [opened, closed, synchronize, review_requested] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 19b594a956..59cbed299e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: python-version: "3.x" - uses: astral-sh/setup-uv@v4 - name: Install dependencies - run: uv pip install --system ultralytics-actions build twine toml + run: uv pip install --system --no-cache ultralytics-actions build twine toml - name: Check PyPI version shell: python run: |