c3140a0813 | ||
---|---|---|
.azure-pipelines | ||
.devcontainer | ||
.github | ||
.ps-rule | ||
.vscode | ||
docs | ||
src/PSRule.Rules.MSFT.OSS | ||
tests/PSRule.Rules.MSFT.OSS.Tests | ||
.gitignore | ||
.markdownlint.json | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
RuleToc.Doc.ps1 | ||
SECURITY.md | ||
SUPPORT.md | ||
build.ps1 | ||
pipeline.build.ps1 | ||
ps-project.yaml | ||
ps-rule.yaml |
README.md
PSRule for Microsoft OSS
A suite of rules to validate repositories against Microsoft Open Source Software (OSS) requirements. This module is intended to be used by Microsoft repositories, and also serves as a functional example.
Support
This project uses GitHub Issues to track bugs and feature requests. Please search the existing issues before filing new issues to avoid duplicates.
- For new issues, file your bug or feature request as a new Issue.
- For help and questions about using this project, we have a Gitter room which you can join below.
If you have any problems with the PSRule engine, please check the project GitHub issues page instead.
Support for this project/ product is limited to the resources listed above.
Getting started
Using with GitHub Actions
- See Creating a workflow file.
- Reference
Microsoft/ps-rule
withmodules: 'PSRule.Rules.MSFT.OSS'
For example:
# Example: .github/workflows/analyze.yaml
#
# Repository validation
#
name: Analyze
on:
- pull_request
jobs:
analyze:
name: Analyze repository
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Run analysis against repository
- name: Run PSRule analysis
uses: Microsoft/ps-rule@main
with:
modules: 'PSRule.Rules.MSFT.OSS'
Changes and versioning
Modules in this repository will use the semantic versioning model to declare breaking changes from v1.0.0. Prior to v1.0.0, breaking changes may be introduced in minor (0.x.0) version increments. For a list of module changes please see the change log.
Pre-release module versions are created on major commits and can be installed from the PowerShell Gallery. Pre-release versions should be considered experimental. Modules and change log details for pre-releases will be removed as standard releases are made available.
Contributing
This project welcomes contributions and suggestions. If you are ready to contribute, please visit the contribution guide.
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Maintainers
License
This project is licensed under the MIT License.