diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index 3203d72910..8c806b7a21 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -49,7 +49,7 @@ jobs: - name: Detect changes id: filter if: steps.force.outputs.run_all != 'true' - uses: dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@v4.0.1 with: base: ${{ steps.range.outputs.base }} ref: ${{ steps.range.outputs.ref }} @@ -82,7 +82,7 @@ jobs: with: python-version: "${{ matrix.python-version }}" - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -119,13 +119,13 @@ jobs: pytest - name: Upload test results to Codecov if: always() - uses: codecov/codecov-action@v5.5.2 + uses: codecov/codecov-action@v5.5.3 with: flags: backend-python-${{ matrix.python-version }} files: junit.xml report_type: test_results - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5.5.2 + uses: codecov/codecov-action@v5.5.3 with: flags: backend-python-${{ matrix.python-version }} files: coverage.xml @@ -151,7 +151,7 @@ jobs: with: python-version: "${{ env.DEFAULT_PYTHON }}" - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -173,7 +173,7 @@ jobs: check \ src/ - name: Cache Mypy - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: .mypy_cache # Keyed by OS, Python version, and dependency hashes diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index 2d6da2da9e..38f131455f 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -169,7 +169,7 @@ jobs: packages: write steps: - name: Download digests - uses: actions/download-artifact@v8.0.0 + uses: actions/download-artifact@v8.0.1 with: path: /tmp/digests pattern: digest-*.txt diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index 81d31dffec..8aebcc47e1 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -51,7 +51,7 @@ jobs: - name: Detect changes id: filter if: steps.force.outputs.run_all != 'true' - uses: dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@v4.0.1 with: base: ${{ steps.range.outputs.base }} ref: ${{ steps.range.outputs.ref }} @@ -77,7 +77,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index bfd2ee5e46..ce9f917a96 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -46,7 +46,7 @@ jobs: - name: Detect changes id: filter if: steps.force.outputs.run_all != 'true' - uses: dorny/paths-filter@v3.0.2 + uses: dorny/paths-filter@v4.0.1 with: base: ${{ steps.range.outputs.base }} ref: ${{ steps.range.outputs.ref }} @@ -63,7 +63,7 @@ jobs: - name: Checkout uses: actions/checkout@v6.0.2 - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -74,7 +74,7 @@ jobs: cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies id: cache-frontend-deps - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store @@ -91,7 +91,7 @@ jobs: - name: Checkout uses: actions/checkout@v6.0.2 - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -101,7 +101,7 @@ jobs: cache: 'pnpm' cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store @@ -126,7 +126,7 @@ jobs: - name: Checkout uses: actions/checkout@v6.0.2 - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -136,7 +136,7 @@ jobs: cache: 'pnpm' cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store @@ -148,13 +148,13 @@ jobs: run: cd src-ui && pnpm run test --max-workers=2 --shard=${{ matrix.shard-index }}/${{ matrix.shard-count }} - name: Upload test results to Codecov if: always() - uses: codecov/codecov-action@v5.5.2 + uses: codecov/codecov-action@v5.5.3 with: flags: frontend-node-${{ matrix.node-version }} directory: src-ui/ report_type: test_results - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5.5.2 + uses: codecov/codecov-action@v5.5.3 with: flags: frontend-node-${{ matrix.node-version }} directory: src-ui/coverage/ @@ -177,7 +177,7 @@ jobs: - name: Checkout uses: actions/checkout@v6.0.2 - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -187,7 +187,7 @@ jobs: cache: 'pnpm' cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store @@ -210,7 +210,7 @@ jobs: with: fetch-depth: 2 - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -220,7 +220,7 @@ jobs: cache: 'pnpm' cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index c4df7d893d..bc5d5a9289 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -21,4 +21,4 @@ jobs: with: python-version: "3.14" - name: Run prek - uses: j178/prek-action@v1.1.1 + uses: j178/prek-action@v2.0.0 diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index bbd9e6b092..4ce000c790 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v6.0.2 # ---- Frontend Build ---- - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -51,7 +51,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -133,7 +133,7 @@ jobs: version: ${{ steps.get-version.outputs.version }} steps: - name: Download release artifact - uses: actions/download-artifact@v8.0.0 + uses: actions/download-artifact@v8.0.1 with: name: release path: ./ @@ -148,7 +148,7 @@ jobs: fi - name: Create release and changelog id: create-release - uses: release-drafter/release-drafter@v6.2.0 + uses: release-drafter/release-drafter@v7.1.1 with: name: Paperless-ngx ${{ steps.get-version.outputs.version }} tag: ${{ steps.get-version.outputs.version }} @@ -159,7 +159,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload release archive - uses: shogo82148/actions-upload-release-asset@v1.9.2 + uses: shogo82148/actions-upload-release-asset@v1.10.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} upload_url: ${{ steps.create-release.outputs.upload_url }} @@ -185,7 +185,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 32b1fc6380..104a449a1a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v6.0.2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v4.32.5 + uses: github/codeql-action/init@v4.34.0 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -45,4 +45,4 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4.32.5 + uses: github/codeql-action/analyze@v4.34.0 diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 63853f6c52..5b983645dd 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -17,7 +17,7 @@ jobs: with: token: ${{ secrets.PNGX_BOT_PAT }} - name: crowdin action - uses: crowdin/github-action@v2.15.0 + uses: crowdin/github-action@v2.15.2 with: upload_translations: false download_translations: true diff --git a/.github/workflows/project-actions.yml b/.github/workflows/project-actions.yml index 289a83115c..4c892fa8cb 100644 --- a/.github/workflows/project-actions.yml +++ b/.github/workflows/project-actions.yml @@ -19,6 +19,6 @@ jobs: if: github.event_name == 'pull_request_target' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request.user.login != 'dependabot' steps: - name: Label PR with release-drafter - uses: release-drafter/release-drafter@v6.2.0 + uses: release-drafter/release-drafter@v7.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.yml index 220aee9cc3..f5c5516e44 100644 --- a/.github/workflows/translate-strings.yml +++ b/.github/workflows/translate-strings.yml @@ -25,7 +25,7 @@ jobs: sudo apt-get update -qq sudo apt-get install -qq --no-install-recommends gettext - name: Install uv - uses: astral-sh/setup-uv@v7.3.1 + uses: astral-sh/setup-uv@v7.6.0 with: enable-cache: true - name: Install backend python dependencies @@ -36,7 +36,7 @@ jobs: - name: Generate backend translation strings run: cd src/ && uv run manage.py makemessages -l en_US -i "samples*" - name: Install pnpm - uses: pnpm/action-setup@v4.2.0 + uses: pnpm/action-setup@v5.0.0 with: version: 10 - name: Use Node.js 24 @@ -47,7 +47,7 @@ jobs: cache-dependency-path: 'src-ui/pnpm-lock.yaml' - name: Cache frontend dependencies id: cache-frontend-deps - uses: actions/cache@v5.0.3 + uses: actions/cache@v5.0.4 with: path: | ~/.pnpm-store