Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PP-12687: Add dependency review checks #777

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
name: Run tests and static build

on:
pull_request:
workflow_call:
workflow_dispatch:

permissions:
contents: read

jobs:
run-tests:
detect-secrets:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- name: Detect secrets
uses: alphagov/pay-ci/actions/detect-secrets@master

tests:
name: Unit tests and static build
runs-on: ubuntu-latest
steps:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: PR

on:
pull_request:

permissions:
contents: read

jobs:
tests:
uses: ./.github/workflows/_run-tests.yml

dependency-review:
name: Dependency Review scan
uses: alphagov/pay-ci/.github/workflows/_run-dependency-review.yml@master
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
jobs:
run-tests:
name: Unit tests and static build
uses: ./.github/workflows/run-tests.yml
uses: ./.github/workflows/_run-tests.yml
static:
name: Deploy and release Pay product pages
needs: run-tests
Expand Down