mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
Keep application and Terraform changes in separate PRs so a merge cannot race an HCP apply against an app deploy.
31 lines
734 B
YAML
31 lines
734 B
YAML
name: Architecture and changed-file quality
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
architecture:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up .NET
|
|
uses: actions/setup-dotnet@v6
|
|
with:
|
|
dotnet-version: "8.0.x"
|
|
|
|
# CI and local run the same complete repository gate.
|
|
- name: Repository quality gate
|
|
shell: bash
|
|
env:
|
|
BASE_REF: ${{ github.event.pull_request.base.sha || github.event.before }}
|
|
HEAD_REF: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
run: bash scripts/governance-check.sh
|