From f925171c5fa5f43b876c57a4ce9d9fe93670050c Mon Sep 17 00:00:00 2001 From: Ryan VanGundy Date: Thu, 15 May 2025 08:13:20 -0400 Subject: [PATCH 1/2] Remove automatic doc generation --- .github/workflows/ci.yaml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 74bbd9bf..035b05f5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -112,28 +112,4 @@ jobs: - name: Upload SARIF file uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17 with: - sarif_file: results.sarif - - check-docs: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Install Task - uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0 - with: - version: '3.43.3' - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Generate Terraform docs - run: task docs - - - name: Check for changes - run: | - if [[ -n "$(git status --porcelain)" ]]; then - echo "::error::Terraform documentation is out of date. Please run 'task docs' in the repository." - git diff - exit 1 - fi - \ No newline at end of file + sarif_file: results.sarif \ No newline at end of file From 8856cbc1b7d691c16f1021966c10f76916a282e3 Mon Sep 17 00:00:00 2001 From: Ryan VanGundy Date: Thu, 15 May 2025 08:34:33 -0400 Subject: [PATCH 2/2] Enforce newline --- .github/workflows/ci.yaml | 2 +- .vscode/settings.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 035b05f5..62c0040d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -112,4 +112,4 @@ jobs: - name: Upload SARIF file uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17 with: - sarif_file: results.sarif \ No newline at end of file + sarif_file: results.sarif diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..e70431aa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "files.insertFinalNewline": true +}