Skip to content

Commit

Permalink
Adjustment of OSCAL project to support multi-repository approach
Browse files Browse the repository at this point in the history
- Content was deleted and distributed between OSCAL-Pages and OSCAL-Reference.
- Unnecessary scripts and code were pruned from the repo.
- Workflows were reduced as necessary.
  • Loading branch information
Compton-US committed Jul 10, 2023
1 parent 89aa811 commit bf9b66c
Show file tree
Hide file tree
Showing 910 changed files with 166 additions and 7,862,494 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/link-check.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/status-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,3 @@ jobs:
commit_resources: true
secrets:
access_token: ${{ secrets.COMMIT_TOKEN }}
validate-website-reference:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/workflow-generate-website-reference.yml
with:
commit_resources: false
push-website-reference:
if: github.event_name == 'push'
uses: ./.github/workflows/workflow-generate-website-reference.yml
with:
commit_resources: true
secrets:
access_token: ${{ secrets.COMMIT_TOKEN }}
validate-website:
if: github.event_name == 'pull_request'
needs: validate-website-reference
uses: ./.github/workflows/workflow-generate-website.yml
with:
commit_resources: false
push-website:
if: github.event_name == 'push'
needs: push-website-reference
uses: ./.github/workflows/workflow-generate-website.yml
with:
commit_resources: true
secrets:
access_token: ${{ secrets.COMMIT_TOKEN }}
29 changes: 15 additions & 14 deletions .github/workflows/workflow-generate-metaschema-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,18 @@ jobs:
path: |
${{ runner.temp }}/metaschema-artifacts.zip
retention-days: 5
# Store Built Artifacts
# ---------------
- name: Publish Schemas and Converters
# only do this on master
if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == true
uses: stefanzweifel/git-auto-commit-action@be7095c202abcf573b09f20541e0ee2f6a3a9d9b
with:
repository: ${{ env.CHECKOUT_PATH }}
file_pattern: xml json
skip_dirty_check: false
commit_user_name: OSCAL GitHub Actions Bot
commit_user_email: [email protected]
commit_author: OSCAL GitHub Actions Bot <[email protected]>
commit_message: Publishing generated metaschema resources [ci skip]
# Turning this off since the plan would be to publish the schemas and convertors, but not store in the project source.
# # Store Built Artifacts
# # ---------------
# - name: Publish Schemas and Converters
# # only do this on master
# if: github.event.inputs.commit_resources == 'true' || inputs.commit_resources == true
# uses: stefanzweifel/git-auto-commit-action@be7095c202abcf573b09f20541e0ee2f6a3a9d9b
# with:
# repository: ${{ env.CHECKOUT_PATH }}
# file_pattern: xml json
# skip_dirty_check: false
# commit_user_name: OSCAL GitHub Actions Bot
# commit_user_email: [email protected]
# commit_author: OSCAL GitHub Actions Bot <[email protected]>
# commit_message: Publishing generated metaschema resources [ci skip]
165 changes: 0 additions & 165 deletions .github/workflows/workflow-generate-website-reference.yml

This file was deleted.

Loading

0 comments on commit bf9b66c

Please sign in to comment.