mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Bumps the dependencies group with 4 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [actions/download-artifact](https://github.com/actions/download-artifact), [github/codeql-action](https://github.com/github/codeql-action) and [anchore/sbom-action](https://github.com/anchore/sbom-action). Updates `actions/upload-artifact` from 4.6.2 to 5.0.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](ea165f8d65...330a01c490) Updates `actions/download-artifact` from 5.0.0 to 6.0.0 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](634f93cb29...018cc2cf5b) Updates `github/codeql-action` from 4.30.9 to 4.31.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](16140ae1a1...4e94bd11f7) Updates `anchore/sbom-action` from 0.20.8 to 0.20.9 - [Release notes](https://github.com/anchore/sbom-action/releases) - [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md) - [Commits](aa0e114b2e...8e94d75ddd) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: actions/download-artifact dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: github/codeql-action dependency-version: 4.31.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: anchore/sbom-action dependency-version: 0.20.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
		
			
				
	
	
		
			73 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			73 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# This workflow uses actions that are not certified by GitHub. They are provided
 | 
						|
# by a third-party and are governed by separate terms of service, privacy
 | 
						|
# policy, and support documentation.
 | 
						|
 | 
						|
name: Scorecard supply-chain security
 | 
						|
on:
 | 
						|
  # For Branch-Protection check. Only the default branch is supported. See
 | 
						|
  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
 | 
						|
  branch_protection_rule:
 | 
						|
  # To guarantee Maintained check is occasionally updated. See
 | 
						|
  # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
 | 
						|
  schedule:
 | 
						|
    - cron: "32 0 * * 0"
 | 
						|
  push:
 | 
						|
    branches: ["master"]
 | 
						|
 | 
						|
# Declare default permissions as read only.
 | 
						|
permissions: read-all
 | 
						|
 | 
						|
jobs:
 | 
						|
  analysis:
 | 
						|
    name: Scorecard analysis
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    permissions:
 | 
						|
      # Needed to upload the results to code-scanning dashboard.
 | 
						|
      security-events: write
 | 
						|
      # Needed to publish results and get a badge (see publish_results below).
 | 
						|
      id-token: write
 | 
						|
      # Uncomment the permissions below if installing in a private repository.
 | 
						|
      # contents: read
 | 
						|
      # actions: read
 | 
						|
 | 
						|
    steps:
 | 
						|
      - name: "Checkout code"
 | 
						|
        uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
 | 
						|
        with:
 | 
						|
          persist-credentials: false
 | 
						|
 | 
						|
      - name: "Run analysis"
 | 
						|
        uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
 | 
						|
        with:
 | 
						|
          results_file: results.sarif
 | 
						|
          results_format: sarif
 | 
						|
          # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
 | 
						|
          # - you want to enable the Branch-Protection check on a *public* repository, or
 | 
						|
          # - you are installing Scorecard on a *private* repository
 | 
						|
          # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
 | 
						|
          # repo_token: ${{ secrets.SCORECARD_TOKEN }}
 | 
						|
 | 
						|
          # Public repositories:
 | 
						|
          #   - Publish results to OpenSSF REST API for easy access by consumers
 | 
						|
          #   - Allows the repository to include the Scorecard badge.
 | 
						|
          #   - See https://github.com/ossf/scorecard-action#publishing-results.
 | 
						|
          # For private repositories:
 | 
						|
          #   - `publish_results` will always be set to `false`, regardless
 | 
						|
          #     of the value entered here.
 | 
						|
          publish_results: true
 | 
						|
 | 
						|
      # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
 | 
						|
      # format to the repository Actions tab.
 | 
						|
      - name: "Upload artifact"
 | 
						|
        uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
 | 
						|
        with:
 | 
						|
          name: SARIF file
 | 
						|
          path: results.sarif
 | 
						|
          retention-days: 5
 | 
						|
 | 
						|
      # Upload the results to GitHub's code scanning dashboard.
 | 
						|
      - name: "Upload to code-scanning"
 | 
						|
        uses: github/codeql-action/upload-sarif@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
 | 
						|
        with:
 | 
						|
          sarif_file: results.sarif
 |