mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Chore(deps): Bump the actions group with 5 updates (#5203)
* Chore(deps): Bump the actions group with 5 updates Bumps the actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `3` | `4` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `3` | `4` | | [github/codeql-action](https://github.com/github/codeql-action) | `2` | `3` | | [actions/stale](https://github.com/actions/stale) | `8` | `9` | Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) Updates `actions/upload-artifact` from 3 to 4 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) Updates `github/codeql-action` from 2 to 3 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) Updates `actions/stale` from 8 to 9 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v8...v9) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * See if this fixes broken frontend coverage actions/upload & download --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										44
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@@ -37,7 +37,7 @@ jobs:
 | 
				
			|||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Install python
 | 
					        name: Install python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
					          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
@@ -56,7 +56,7 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Set up Python
 | 
					        name: Set up Python
 | 
				
			||||||
        id: setup-python
 | 
					        id: setup-python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
					          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
				
			||||||
          cache: "pipenv"
 | 
					          cache: "pipenv"
 | 
				
			||||||
@@ -87,7 +87,7 @@ jobs:
 | 
				
			|||||||
          pipenv --python ${{ steps.setup-python.outputs.python-version }} run mkdocs gh-deploy --force --no-history
 | 
					          pipenv --python ${{ steps.setup-python.outputs.python-version }} run mkdocs gh-deploy --force --no-history
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload artifact
 | 
					        name: Upload artifact
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: documentation
 | 
					          name: documentation
 | 
				
			||||||
          path: site/
 | 
					          path: site/
 | 
				
			||||||
@@ -114,7 +114,7 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Set up Python
 | 
					        name: Set up Python
 | 
				
			||||||
        id: setup-python
 | 
					        id: setup-python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: "${{ matrix.python-version }}"
 | 
					          python-version: "${{ matrix.python-version }}"
 | 
				
			||||||
          cache: "pipenv"
 | 
					          cache: "pipenv"
 | 
				
			||||||
@@ -155,7 +155,7 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload coverage
 | 
					        name: Upload coverage
 | 
				
			||||||
        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION }}
 | 
					        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION }}
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: backend-coverage-report
 | 
					          name: backend-coverage-report
 | 
				
			||||||
          path: src/coverage.xml
 | 
					          path: src/coverage.xml
 | 
				
			||||||
@@ -238,7 +238,7 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload Jest coverage
 | 
					        name: Upload Jest coverage
 | 
				
			||||||
        if: always()
 | 
					        if: always()
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: jest-coverage-report-${{ matrix.shard-index }}
 | 
					          name: jest-coverage-report-${{ matrix.shard-index }}
 | 
				
			||||||
          path: |
 | 
					          path: |
 | 
				
			||||||
@@ -253,9 +253,9 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload Playwright test results
 | 
					        name: Upload Playwright test results
 | 
				
			||||||
        if: always()
 | 
					        if: always()
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: playwright-report
 | 
					          name: playwright-report-${{ matrix.shard-index }}
 | 
				
			||||||
          path: src-ui/playwright-report
 | 
					          path: src-ui/playwright-report
 | 
				
			||||||
          retention-days: 7
 | 
					          retention-days: 7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -269,10 +269,18 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Download frontend coverage
 | 
					        name: Download frontend jest coverage
 | 
				
			||||||
        uses: actions/download-artifact@v3
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: src-ui/coverage/
 | 
					          path: src-ui/coverage/
 | 
				
			||||||
 | 
					          pattern: jest-coverage-report-*
 | 
				
			||||||
 | 
					      -
 | 
				
			||||||
 | 
					        name: Download frontend playwright coverage
 | 
				
			||||||
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          path: src-ui/coverage/
 | 
				
			||||||
 | 
					          pattern: playwright-report-*
 | 
				
			||||||
 | 
					          merge-multiple: true
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload frontend coverage to Codecov
 | 
					        name: Upload frontend coverage to Codecov
 | 
				
			||||||
        uses: codecov/codecov-action@v3
 | 
					        uses: codecov/codecov-action@v3
 | 
				
			||||||
@@ -285,7 +293,7 @@ jobs:
 | 
				
			|||||||
          files: '!coverage.xml'
 | 
					          files: '!coverage.xml'
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Download backend coverage
 | 
					        name: Download backend coverage
 | 
				
			||||||
        uses: actions/download-artifact@v3
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: backend-coverage-report
 | 
					          name: backend-coverage-report
 | 
				
			||||||
          path: src/
 | 
					          path: src/
 | 
				
			||||||
@@ -416,7 +424,7 @@ jobs:
 | 
				
			|||||||
          docker cp frontend-extract:/usr/src/paperless/src/documents/static/frontend src/documents/static/frontend/
 | 
					          docker cp frontend-extract:/usr/src/paperless/src/documents/static/frontend src/documents/static/frontend/
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload frontend artifact
 | 
					        name: Upload frontend artifact
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: frontend-compiled
 | 
					          name: frontend-compiled
 | 
				
			||||||
          path: src/documents/static/frontend/
 | 
					          path: src/documents/static/frontend/
 | 
				
			||||||
@@ -435,7 +443,7 @@ jobs:
 | 
				
			|||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Set up Python
 | 
					        name: Set up Python
 | 
				
			||||||
        id: setup-python
 | 
					        id: setup-python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
					          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
				
			||||||
          cache: "pipenv"
 | 
					          cache: "pipenv"
 | 
				
			||||||
@@ -461,13 +469,13 @@ jobs:
 | 
				
			|||||||
          sudo apt-get install -qq --no-install-recommends gettext liblept5
 | 
					          sudo apt-get install -qq --no-install-recommends gettext liblept5
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Download frontend artifact
 | 
					        name: Download frontend artifact
 | 
				
			||||||
        uses: actions/download-artifact@v3
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: frontend-compiled
 | 
					          name: frontend-compiled
 | 
				
			||||||
          path: src/documents/static/frontend/
 | 
					          path: src/documents/static/frontend/
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Download documentation artifact
 | 
					        name: Download documentation artifact
 | 
				
			||||||
        uses: actions/download-artifact@v3
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: documentation
 | 
					          name: documentation
 | 
				
			||||||
          path: docs/_build/html/
 | 
					          path: docs/_build/html/
 | 
				
			||||||
@@ -533,7 +541,7 @@ jobs:
 | 
				
			|||||||
          tar -cJf paperless-ngx.tar.xz paperless-ngx/
 | 
					          tar -cJf paperless-ngx.tar.xz paperless-ngx/
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Upload release artifact
 | 
					        name: Upload release artifact
 | 
				
			||||||
        uses: actions/upload-artifact@v3
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: release
 | 
					          name: release
 | 
				
			||||||
          path: dist/paperless-ngx.tar.xz
 | 
					          path: dist/paperless-ngx.tar.xz
 | 
				
			||||||
@@ -552,7 +560,7 @@ jobs:
 | 
				
			|||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Download release artifact
 | 
					        name: Download release artifact
 | 
				
			||||||
        uses: actions/download-artifact@v3
 | 
					        uses: actions/download-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: release
 | 
					          name: release
 | 
				
			||||||
          path: ./
 | 
					          path: ./
 | 
				
			||||||
@@ -603,7 +611,7 @@ jobs:
 | 
				
			|||||||
          ref: main
 | 
					          ref: main
 | 
				
			||||||
      -
 | 
					      -
 | 
				
			||||||
        name: Set up Python
 | 
					        name: Set up Python
 | 
				
			||||||
        uses: actions/setup-python@v4
 | 
					        uses: actions/setup-python@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
					          python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
 | 
				
			||||||
          cache: "pipenv"
 | 
					          cache: "pipenv"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							@@ -42,7 +42,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Initializes the CodeQL tools for scanning.
 | 
					    # Initializes the CodeQL tools for scanning.
 | 
				
			||||||
    - name: Initialize CodeQL
 | 
					    - name: Initialize CodeQL
 | 
				
			||||||
      uses: github/codeql-action/init@v2
 | 
					      uses: github/codeql-action/init@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        languages: ${{ matrix.language }}
 | 
					        languages: ${{ matrix.language }}
 | 
				
			||||||
        # If you wish to specify custom queries, you can do so here or in a config file.
 | 
					        # If you wish to specify custom queries, you can do so here or in a config file.
 | 
				
			||||||
@@ -51,4 +51,4 @@ jobs:
 | 
				
			|||||||
        # queries: ./path/to/local/query, your-org/your-repo/queries@main
 | 
					        # queries: ./path/to/local/query, your-org/your-repo/queries@main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Perform CodeQL Analysis
 | 
					    - name: Perform CodeQL Analysis
 | 
				
			||||||
      uses: github/codeql-action/analyze@v2
 | 
					      uses: github/codeql-action/analyze@v3
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/repo-maintenance.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/repo-maintenance.yml
									
									
									
									
										vendored
									
									
								
							@@ -18,7 +18,7 @@ jobs:
 | 
				
			|||||||
    name: 'Stale'
 | 
					    name: 'Stale'
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/stale@v8
 | 
					      - uses: actions/stale@v9
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          days-before-stale: 7
 | 
					          days-before-stale: 7
 | 
				
			||||||
          days-before-close: 14
 | 
					          days-before-close: 14
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user