-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from DSACMS/dev
Merge Dev into Main
- Loading branch information
Showing
28 changed files
with
470 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Converting outbound checklists from .md to .pdf | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
# Paths can be used to only trigger actions when you have edited checklist files | ||
branches: | ||
- 'checklists/**' | ||
paths: | ||
- 'tier*/checklist.md' | ||
|
||
jobs: | ||
get-changed-directories: | ||
name: Get changed directories | ||
runs-on: ubuntu-latest | ||
outputs: | ||
tiers: ${{ steps.list-dirs.outputs.tiers }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Get changed directories | ||
id: get-dirs | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
dir_names: "true" | ||
- name: List all changed tier directories | ||
id: list-dirs | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.get-dirs.outputs.all_changed_files }} | ||
run: | | ||
# Obtain changed tier directories and format into array | ||
DIRS=$(echo "$ALL_CHANGED_FILES" | grep -oE 'tier[^ ]*' | sed 's/^/"/; s/$/"/' | paste -sd, -) | ||
# Output the array | ||
TIER_DIRS="[$DIRS]" | ||
echo "$TIER_DIRS" | ||
echo "tiers=$TIER_DIRS" >> "$GITHUB_OUTPUT" | ||
convert-to-pdf: | ||
name: Build PDF | ||
runs-on: ubuntu-latest | ||
needs: get-changed-directories | ||
permissions: | ||
contents: write | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
tier: ${{ fromJSON(needs.get-changed-directories.outputs.tiers) }} # List of changed tier directories | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Generate PDF for ${{ matrix.tier }} | ||
uses: baileyjm02/markdown-to-pdf@v1 | ||
with: | ||
input_path: ${{ matrix.tier }}/checklist.md | ||
images_dir: assets | ||
image_import: ../assets | ||
output_dir: ${{ matrix.tier }}/ | ||
build_html: false | ||
- name: Commit and push ${{ matrix.tier }} PDF | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "Updated ${{ matrix.tier }} checklist pdf" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cookiecutter==2.4.0 | ||
cookiecutter==2.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Tier 0: Private Repository | ||
|
||
## What is a Tier 0 Project? | ||
|
||
A **Tier 0** project is an **experimental or historical** repository that is **private** and generally used by a single developer or a small group. It typically includes working projects, example scripts, or early prototypes that serve as a foundation for future work or experimentation. This type of project is not shared publicly and often remains private due to its preliminary or incomplete nature. | ||
|
||
The main purpose of a Tier 0 project is to provide a space for initial development, exploration, and testing. These repositories generally lack formal documentation or governance structures that are typical of more mature projects. | ||
|
||
### Key Characteristics of a Tier 0 Project: | ||
- **Private** and often limited to individual or small team access. | ||
- Primarily **experimental or developmental** in nature. | ||
|
||
--- | ||
|
||
## Files for a Tier 0 Project | ||
|
||
Although these projects are private, there are specific files that are required and recommended to include in the repository as part of the CMS Open Source Program Office's repository hygiene guidelines and standards. | ||
|
||
| **File** | **Requirement** | **Description** | | ||
|-----------------------|-----------------|-------------------------------------------------------------------------------------------------------------| | ||
| `LICENSE` | Mandatory | Defines the licensing terms under which the project is distributed. | | ||
| `SECURITY.md` | Recommended | Outlines the agency's security policies, including how to report security issues or vulnerabilities in the code. | | ||
| `README.md` | Mandatory | Provides an overview of the project, including its purpose, setup instructions, or any relevant notes for the developer(s). | | ||
| `CONTRIBUTING.md` | Recommended | Guidelines for contributing, useful if the project is later opened to collaborators or transitioned to a public repository. | | ||
|
||
For more information about sections and content within the files above, please visit [maturity-model-tiers.md](https://github.com/DSACMS/repo-scaffolder/blob/main/maturity-model-tiers.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Security and Responsible Disclosure Policy | ||
|
||
The Centers for Medicare & Medicaid Services is committed to ensuring the security of the American public by protecting their information from unwarranted disclosure. We want security researchers to feel comfortable reporting vulnerabilities they have discovered so we can fix them and keep our users safe. We developed our disclosure policy to reflect our values and uphold our sense of responsibility to security researchers who share their expertise with us in good faith. | ||
|
||
*Submit a vulnerability:* Vulnerability reports can be submitted through [Bugcrowd](https://bugcrowd.com/cms-vdp). Reports may be submitted anonymously. If you share contact information, we will acknowledge receipt of your report within 3 business days. | ||
|
||
Review the HHS Disclosure Policy and websites in scope: | ||
[https://www.hhs.gov/vulnerability-disclosure-policy/index.html](https://www.hhs.gov/vulnerability-disclosure-policy/index.html). | ||
|
||
This policy describes *what systems and types of research* are covered under this | ||
policy, *how to send* us vulnerability reports, and *how long* we ask security | ||
researchers to wait before publicly disclosing vulnerabilities. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.