From ee176faaf696b276d3ed13399f7cc49a008f206a Mon Sep 17 00:00:00 2001 From: George Vauter Date: Tue, 4 Jun 2024 16:35:04 -0400 Subject: [PATCH] deleting all workflows that do not use trestle-bot --- .github/workflows/catalog.yml | 25 ---------------- .github/workflows/cd.yml | 25 ---------------- .github/workflows/check-all.yml | 22 -------------- .github/workflows/profile.yml | 25 ---------------- .github/workflows/regenerate-cd.yml | 31 -------------------- .github/workflows/regenerate-profile.yml | 31 -------------------- .github/workflows/regenerate-ssps.yml | 37 ------------------------ .github/workflows/ssp.yml | 25 ---------------- .github/workflows/update-fedramp.yml | 23 --------------- .github/workflows/update-nist.yml | 23 --------------- 10 files changed, 267 deletions(-) delete mode 100644 .github/workflows/catalog.yml delete mode 100644 .github/workflows/cd.yml delete mode 100644 .github/workflows/check-all.yml delete mode 100644 .github/workflows/profile.yml delete mode 100644 .github/workflows/regenerate-cd.yml delete mode 100644 .github/workflows/regenerate-profile.yml delete mode 100644 .github/workflows/regenerate-ssps.yml delete mode 100644 .github/workflows/ssp.yml delete mode 100644 .github/workflows/update-fedramp.yml delete mode 100644 .github/workflows/update-nist.yml diff --git a/.github/workflows/catalog.yml b/.github/workflows/catalog.yml deleted file mode 100644 index 900c9e12f..000000000 --- a/.github/workflows/catalog.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Evaluate catalogs -on: - pull_request: - types: [ opened, review_requested, ready_for_review, reopened, synchronize ] - branches: - - main - paths: - - 'catalogs/**' - - 'markdown/catalogs/**' -jobs: - release: - name: Evaluate catalog - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Sanity check - run: make sanity-catalogs \ No newline at end of file diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml deleted file mode 100644 index c996f7d0c..000000000 --- a/.github/workflows/cd.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Evaluate component definitions -on: - pull_request: - types: [ opened, review_requested, ready_for_review, reopened, synchronize ] - branches: - - main - paths: - - 'component-definitions/**' - - 'markdown/components/**' -jobs: - release: - name: Evaluate components - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Sanity check - run: make sanity-cd \ No newline at end of file diff --git a/.github/workflows/check-all.yml b/.github/workflows/check-all.yml deleted file mode 100644 index eb5565ce6..000000000 --- a/.github/workflows/check-all.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Evaluate OSCAL content -on: - pull_request: - types: [ opened, review_requested, ready_for_review, reopened, synchronize ] - branches: - - main -jobs: - release: - name: Evaluate OSCAL content - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Validate with Trestle - run: make validate diff --git a/.github/workflows/profile.yml b/.github/workflows/profile.yml deleted file mode 100644 index dc44df62e..000000000 --- a/.github/workflows/profile.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Evaluate profiles -on: - pull_request: - types: [ opened, review_requested, ready_for_review, reopened, synchronize ] - branches: - - main - paths: - - 'profiles/**' - - 'markdown/profiles/**' -jobs: - release: - name: Evaluate profiles - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Sanity check - run: make sanity-profiles \ No newline at end of file diff --git a/.github/workflows/regenerate-cd.yml b/.github/workflows/regenerate-cd.yml deleted file mode 100644 index b2a497c0d..000000000 --- a/.github/workflows/regenerate-cd.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Regenerate component definition content -on: - push: - branches: - - main - paths: - - 'profiles/**' - - 'markdown/profiles/**' - -jobs: - release: - name: Regenerate content - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Regenerate component-definitions - run: make regenerate-cd - - name: Update and PR - env: - ACTOR: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bash ./vendor/scripts/update.sh -c "Sync OSCAL compdefs" -a "$ACTOR" "markdown/*" \ No newline at end of file diff --git a/.github/workflows/regenerate-profile.yml b/.github/workflows/regenerate-profile.yml deleted file mode 100644 index 7dfdfcebb..000000000 --- a/.github/workflows/regenerate-profile.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Regenerate profile content -on: - push: - branches: - - main - paths: - - 'catalogs/**' - - 'markdown/catalogs/**' - -jobs: - release: - name: Regenerate content - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Regenerate profiles - run: make regenerate-profiles - - name: Update and PR - env: - ACTOR: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bash ./vendor/scripts/update.sh -c "Sync OSCAL profiles" -a "$ACTOR" "markdown/*" \ No newline at end of file diff --git a/.github/workflows/regenerate-ssps.yml b/.github/workflows/regenerate-ssps.yml deleted file mode 100644 index f0141acb7..000000000 --- a/.github/workflows/regenerate-ssps.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Regenerate ssp -on: - push: - branches: - - main - paths: - - 'profiles/**' - - 'markdown/profiles/**' - - 'component-definitions/**' - - 'markdown/components/**' - -jobs: - release: - name: Regenerate content - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Regenerate FedRAMP SSP - run: make generate-fedramp-ssp - - name: Regenerate custom SSP - run: make generate-custom-ssp - - name: Assemble ssps - run: make assemble-ssps - - name: Update and PR - env: - ACTOR: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bash ./vendor/scripts/update.sh -c "Sync OSCAL ssps" -a "$ACTOR" "markdown/*" \ No newline at end of file diff --git a/.github/workflows/ssp.yml b/.github/workflows/ssp.yml deleted file mode 100644 index 8f90e2440..000000000 --- a/.github/workflows/ssp.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Evaluate ssps -on: - pull_request: - types: [ opened, review_requested, ready_for_review, reopened, synchronize ] - branches: - - main - paths: - - 'system-security-plans/**' - - 'markdown/system-security-plans/**' -jobs: - release: - name: Evaluate ssps - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Sanity check - run: make sanity-ssps \ No newline at end of file diff --git a/.github/workflows/update-fedramp.yml b/.github/workflows/update-fedramp.yml deleted file mode 100644 index dbf4189d9..000000000 --- a/.github/workflows/update-fedramp.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Update content from upstream FedRAMP content - -on: workflow_dispatch - -jobs: - release: - name: Run update - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Update FedRAMP - run: bash ./vendor/scripts/update-fedramp.sh - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/update-nist.yml b/.github/workflows/update-nist.yml deleted file mode 100644 index b8cadbceb..000000000 --- a/.github/workflows/update-nist.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Update content from upstream NIST content - -on: workflow_dispatch - -jobs: - release: - name: Run update - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install Trestle - run: make trestle-install - - name: Update NIST - run: bash ./vendor/scripts/update-nist.sh - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file