ci(deps): bump google/osv-scanner-action/.github/workflows/osv-scanne… #397
Workflow file for this run
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
| --- | |
| # Copyright 2016-present Thomas Leplus | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # This workflow executes several linters on changed files based on | |
| # languages used in your code base whenever you push a code or open a | |
| # pull request. | |
| # | |
| # You can adjust the behavior by modifying this file. | |
| # For more information, see: | |
| # https://github.com/super-linter/super-linter | |
| ################################# | |
| ################################# | |
| ## Super Linter GitHub Actions ## | |
| ################################# | |
| ################################# | |
| name: Lint Code Base | |
| # | |
| # Documentation: | |
| # https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
| # | |
| ############################# | |
| # Start the job on all push # | |
| ############################# | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * 0" | |
| workflow_dispatch: | |
| permissions: {} | |
| ############### | |
| # Set the Job # | |
| ############### | |
| jobs: | |
| super-linter: | |
| # Name the Job | |
| name: Lint Code Base | |
| # Set the agent to run on | |
| runs-on: ubuntu-latest | |
| ############################################ | |
| # Grant status permission for MULTI_STATUS # | |
| ############################################ | |
| permissions: | |
| # Required to read the code | |
| contents: read | |
| # Required to access the container image | |
| packages: read | |
| # Required to write the status | |
| statuses: write | |
| ################## | |
| # Load all steps # | |
| ################## | |
| steps: | |
| ########################## | |
| # Checkout the code base # | |
| ########################## | |
| - name: Checkout Code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| # Full git history is needed to get a proper list of changed | |
| # files within `super-linter` | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| ################################ | |
| # Run Linter against code base # | |
| ################################ | |
| - name: Lint Code Base | |
| uses: super-linter/super-linter@502f4fe48a81a392756e173e39a861f8c8efe056 # v8.3.0 | |
| env: | |
| VALIDATE_ALL_CODEBASE: true | |
| LINTER_RULES_PATH: . | |
| DEFAULT_BRANCH: main | |
| FILTER_REGEX_EXCLUDE: "(gradlew|gradlew\\.bat|gradle/.*|mvnw|mvnw\\.cmd|\\.m2/.*|\\.mvn/.*)$" | |
| JAVA_FILE_NAME: google_checks.xml | |
| ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true | |
| TRIVY_SCANNERS: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 'vuln,misconfig,secret' || 'misconfig,secret'}} | |
| BIOME_CONFIG_PATH: .biome.json | |
| GITHUB_ACTIONS_ZIZMOR_CONFIG_FILE: .zizmor.yml | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |