Skip to content

OJ-1539: Replace audit logic with cri-audit and use cri-types #2287

OJ-1539: Replace audit logic with cri-audit and use cri-types

OJ-1539: Replace audit logic with cri-audit and use cri-types #2287

Workflow file for this run

name: Check PR
on: pull_request
permissions: {}
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
concurrency:
group: pre-commit-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
steps:
- name: Run pre-commit
uses: govuk-one-login/github-actions/code-quality/run-pre-commit@0c5c351ec34f813b37ecb5c3413e49ccab534c58
with:
all-files: true
unit-tests:
name: Run tests
uses: ./.github/workflows/run-unit-tests.yml
with:
coverage-report: true
deploy:
name: Preview
uses: ./.github/workflows/deploy-branch.yml
permissions:
id-token: write
contents: read
pact-tests:
name: Run tests
needs: deploy
uses: ./.github/workflows/run-pact-tests.yml
permissions:
id-token: write
contents: read
with:
stack-name: ${{ needs.deploy.outputs.stack-name }}
aws-region: ${{ needs.deploy.outputs.aws-region }}
secrets:
pact-broker-host: ${{ secrets.PACT_BROKER_HOST }}
pact-broker-username: ${{ secrets.PACT_BROKER_USERNAME }}
pact-broker-password: ${{ secrets.PACT_BROKER_PASSWORD }}
apigw-tests:
name: Run tests
needs: deploy
uses: ./.github/workflows/run-apigw-tests.yml
permissions:
id-token: write
contents: read
with:
stack-name: ${{ needs.deploy.outputs.stack-name }}
aws-region: ${{ needs.deploy.outputs.aws-region }}