Skip to content

Allow disable code scanning #18

Allow disable code scanning

Allow disable code scanning #18

# Copyright 2023 Google LLC
#
# 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
#
# http://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.
name: OSV-Scanner PR Scan
on:
pull_request:
branches: [ main ]
merge_group:
branches: [ main ]
jobs:
scan-pr:
uses: "./.github/workflows/osv-scanner-reusable-pr.yml"

Check failure on line 25 in .github/workflows/osv-scanner-pr.yml

View workflow run for this annotation

GitHub Actions / OSV-Scanner PR Scan

Invalid workflow file

The workflow is not valid. In .github/workflows/osv-scanner-pr.yml (Line: 25, Col: 11): Error from called workflow another-rex/osv-scanner/.github/workflows/osv-scanner-reusable-pr.yml@246641ad6b01f9cb081c0f6f29c48c5d3b278112 (Line: 37, Col: 15): Unexpected value 'bool'
with:
# Just scan the root directory and docs, since everything else is fixtures
scan-args: |-
--skip-git
./
./docs/
permissions:
security-events: write
contents: read