We'd love to accept your patches and contributions to this project. We just ask that you follow our contribution guidelines when you do.
Contributions to this project must be accompanied by a signed Contributor Agreement. You (or your employer) retain the copyright to your contribution; this simply grants us permission to use and redistribute your contributions as part of the project.
All submissions to this project—including submissions from project members—require review. Our review process typically involves performing unit tests, development tests, integration tests, and security scans.
The following steps below demonstrate how to contribute to the viya4-deployment repository by forking it, making changes, and submitting a pull request (PR).
-
Fork the Repository
- Navigate to the viya4-deployment.
- Click the “Fork” button in the upper-right corner.
- This creates a copy of the repository under your GitHub account.
Alternative (using GitHub CLI): If you have the GitHub CLI installed, run:
gh repo fork https://github.com/sassoftware/viya4-deployment.git --clone
-
Clone the Forked Repository Locally
git clone https://github.com/<YOUR_USERNAME>/<REPO_NAME>.git
-
Add the Original Repository as an Upstream Remote (Optional but recommended)
- To keep your fork in sync with the original viya4-deployment repository:
git remote add upstream https://github.com/sassoftware/viya4-deployment.git git fetch upstream
- To sync changes from the original repo:
git checkout main git pull upstream main git push origin main
-
Create a New Branch for Your Contribution
git checkout -b my-contribution-branch
-
Make Your Changes Locally
- Edit the files as needed using your preferred code editor.
-
Stage and Commit Your Changes
git add . git commit -s -m "Your conventional commit message"
-
Push the Branch to Your Fork
git push origin my-contribution-branch
-
Create the Pull Request (PR)
- Go to your forked repository on GitHub.
- You will see a “Compare & pull request” button, click it.
- Check to ensure:
- The base repository is the original viya4-deployment repository.
- The base branch is
main. - The head repository and compare branch is correct.
- Click “Create pull request.”
-
Keep Your Branch Up to Date (If Needed)
- If the base branch has changed and you need to rebase:
git fetch upstream git checkout my-contribution-branch git rebase upstream/main
- After resolving any conflicts, force push your changes:
git push origin my-contribution-branch --force
All pull requests must follow the Conventional Commit standard for commit messages. This helps maintain a consistent and meaningful commit history. Pull requests with commits that do not follow the Conventional Commit format will not be merged.
This project requires all commits to be signed off in accordance with the Developer Certificate of Origin (DCO). By signing off your commits, you certify that you have the right to submit the contribution under the open source license used by this project.
To sign off your commits, use the --signoff flag with git commit:
git commit --signoff -m "Your commit message"This will add a Signed-off-by line to your commit message, e.g.:
Signed-off-by: You Name <your.email@example.com>For more information, please refer to https://probot.github.io/apps/dco/
All pull requests must pass our automated analysis checks before they can be merged. These checks include:
- Hadolint – for Dockerfile best practices
- ShellCheck – for shell script issues
- Ansible-lint – for Ansible playbook and role validation
To ensure that all submissions meet our security and quality standards, we perform security scans using internal SAS infrastructure. Contributions might be subjected to security scans before they can be accepted. Reporting of any Common Vulnerabilities and Exposures (CVEs) that are detected is not available in this project at this time.