Merge pull request #5856 from toniprieto/New-collection-menu-visibility #1760
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DSpace CodeQL code scanning configuration for GitHub | |
| # https://docs.github.com/en/code-security/code-scanning | |
| # | |
| # NOTE: Code scanning must be run separate from our default build.yml | |
| # because CodeQL requires a fresh build with all tests *disabled*. | |
| name: "Code Scanning" | |
| # Run this code scan for all pushes / PRs to main or maintenance branches. Also run once a week. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'dspace-**' | |
| pull_request: | |
| branches: | |
| - main | |
| - 'dspace-**' | |
| # Don't run if PR is only updating static documentation or IDE/editor rules | |
| paths-ignore: | |
| - '.editorconfig' | |
| - '.gitignore' | |
| - '.vscode/*' | |
| - 'docs/*' | |
| - 'LICENSE' | |
| - 'LICENSES_THIRD_PARTY' | |
| - 'NOTICE' | |
| - '**/*.md' | |
| schedule: | |
| - cron: "37 0 * * 1" | |
| jobs: | |
| analyze: | |
| name: Analyze Code | |
| runs-on: ubuntu-slim | |
| # Limit permissions of this GitHub action. Can only write to security-events | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| # https://github.com/actions/checkout | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| # Initializes the CodeQL tools for scanning. | |
| # https://github.com/github/codeql-action | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| # Codescan Javascript/Typescript code and GitHub actions/workflows | |
| languages: javascript, actions | |
| # Perform GitHub Code Scanning. | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |