Skip to content

Fix secrel issues #4483

Fix secrel issues

Fix secrel issues #4483

name: "CI"
# Runs Continuous Integration tests and checks
# See https://github.com/department-of-veterans-affairs/abd-vro/wiki/CI-CD-Workflows
on:
pull_request:
branches: [main, develop, domain-*]
types: [ready_for_review, synchronize, opened, reopened]
push:
branches: [ develop, domain-* ]
# Allow manual triggering
workflow_dispatch:
concurrency:
group: ci-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
nondraft-pr:
if: >
github.repository == 'department-of-veterans-affairs/abd-vro' &&
(github.event_name != 'pull_request' ||
(github.event_name == 'pull_request' && !github.event.pull_request.draft))
runs-on: ubuntu-latest
steps:
- name: "DEBUG"
run: |
echo "${{ github.event_name }} ${{ github.event.pull_request.draft }}"
lint-and-test:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
uses: ./.github/workflows/test-code.yml
secrets: inherit
codeql:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
uses: ./.github/workflows/codeql-analysis.yml
secrets: inherit
container-healthchecks:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
needs: nondraft-pr
uses: ./.github/workflows/container-healthchecks.yml
secrets: inherit
svc-bgs-api:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
needs: nondraft-pr
uses: ./.github/workflows/svc-bgs-api-integration-test.yml
secrets: inherit
svc-bip-api:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
needs: nondraft-pr
uses: ./.github/workflows/svc-bip-api-integration-test.yml
secrets: inherit
# NOTE: svc-bie-kafka workflows are tied to inactive services and commented out to prevent unnecessary execution and updates.
# Documentation:
# - Disabling issue: https://github.com/department-of-veterans-affairs/abd-vro/issues/3802
# - BIE Docs: https://github.com/department-of-veterans-affairs/abd-vro/issues/3753
# svc-bie-kafka-end-to-end:
# if: github.repository == 'department-of-veterans-affairs/abd-vro'
# needs: nondraft-pr
# uses: ./.github/workflows/bie-kafka-end2end-test.yml
# secrets: inherit
ee-ep-merge-end-to-end:
if: github.repository == 'department-of-veterans-affairs/abd-vro'
needs: nondraft-pr
uses: ./.github/workflows/ee-ep-merge-end-to-end.yml
secrets: inherit