Skip to content

Commit

Permalink
Merge pull request #983 from alphagov/PP-12687-dependency-review-work…
Browse files Browse the repository at this point in the history
…flow

PP-12687: Add dependency review workflow
  • Loading branch information
katstevens authored Nov 12, 2024
2 parents 5e0c836 + 7ffcc83 commit 73a17ae
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Run tests and static build

on:
pull_request:
workflow_call:
workflow_dispatch:

permissions:
contents: read

jobs:
run-tests:
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: Build and release Pay tech-docs static site
needs: run-tests
Expand Down

0 comments on commit 73a17ae

Please sign in to comment.