Skip to content

Commit

Permalink
build: run dependency check on pushes, for more action uniformity
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 14, 2023
1 parent 9e94ddb commit dc83ac5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement

name: 'Dependency Review'
on: [pull_request]
on:
push:
branches:
- master
- nedbat/*
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand All @@ -18,3 +25,6 @@ jobs:
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
with:
base-ref: ${{ github.event.pull_request.base.ref || 'master' }}
head-ref: ${{ github.event.pull_request.head.ref || github.ref }}

0 comments on commit dc83ac5

Please sign in to comment.