diff --git a/.github/workflows/pull-request-conditionals.yaml b/.github/workflows/pull-request-conditionals.yaml index 8086c883d..3b137fe13 100644 --- a/.github/workflows/pull-request-conditionals.yaml +++ b/.github/workflows/pull-request-conditionals.yaml @@ -39,6 +39,8 @@ jobs: run: brew install defenseunicorns/tap/uds@0.11.2 - name: Run Formatting Checks run: uds run lint-check --no-progress + - name: Setup Lula + uses: .github/actions/setup # This job checks if there are changes in specific paths source packages. check-paths: diff --git a/tasks.yaml b/tasks.yaml index d6976988a..980322fdc 100644 --- a/tasks.yaml +++ b/tasks.yaml @@ -95,3 +95,7 @@ tasks: - name: lint-fix actions: - task: lint:fix + + - name: lint-oscal + actions: + - task: lint:oscal diff --git a/tasks/lint.yaml b/tasks/lint.yaml index d5b732137..474fc4281 100644 --- a/tasks/lint.yaml +++ b/tasks/lint.yaml @@ -1,3 +1,6 @@ +includes: + - remote: https://raw.githubusercontent.com/defenseunicorns/uds-common/main/tasks/lint.yaml + tasks: - name: fix description: "Fix formatting issues in the repo" @@ -17,3 +20,8 @@ tasks: cmd: CMD=pip && which $CMD || CMD=pip3 && $CMD install yamllint - description: yaml lint cmd: yamllint . -c .yamllint --no-warnings + + - name: oscal + actions: + - description: Lula Lint OSCAL + - task: remote:oscal