| 1 |
# |
| 2 |
# Copyright 2022 The Sigstore Authors. |
| 3 |
# |
| 4 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
# you may not use this file except in compliance with the License. |
| 6 |
# You may obtain a copy of the License at |
| 7 |
# |
| 8 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
# |
| 10 |
# Unless required by applicable law or agreed to in writing, software |
| 11 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
# See the License for the specific language governing permissions and |
| 14 |
# limitations under the License. |
| 15 |
name: 'Dependency Review' |
| 16 |
on: |
| 17 |
pull_request: |
| 18 |
branches: |
| 19 |
- main |
| 20 |
|
| 21 |
permissions: {} |
| 22 |
|
| 23 |
jobs: |
| 24 |
dependency-review: |
| 25 |
runs-on: ubuntu-latest |
| 26 |
|
| 27 |
permissions: |
| 28 |
contents: read |
| 29 |
|
| 30 |
steps: |
| 31 |
- name: 'Checkout Repository' |
| 32 |
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 33 |
with: |
| 34 |
persist-credentials: false |
| 35 |
- name: 'Dependency Review' |
| 36 |
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # 5.0.0 |