A suite of rules to validate repositories against Microsoft Open Source Software (OSS) requirements.
Перейти к файлу
Bernie White c3140a0813
Pre-release v0.1.0-B2012007 (#10)
2020-12-30 00:12:36 +10:00
.azure-pipelines Update CI pipeline for publishing (#9) 2020-12-28 01:25:37 +10:00
.devcontainer Added project files (#3) 2020-11-24 23:54:14 +10:00
.github Fixed workflow typo (#4) 2020-11-24 23:58:52 +10:00
.ps-rule Added project files (#3) 2020-11-24 23:54:14 +10:00
.vscode Added project files (#3) 2020-11-24 23:54:14 +10:00
docs Update CI pipeline for publishing (#9) 2020-12-28 01:25:37 +10:00
src/PSRule.Rules.MSFT.OSS Add support documentation (#8) 2020-12-28 00:57:46 +10:00
tests/PSRule.Rules.MSFT.OSS.Tests Add unit tests and PSRule v1 #6 (#7) 2020-12-27 01:03:51 +10:00
.gitignore Initial repo files (#1) 2020-09-04 00:46:36 +10:00
.markdownlint.json Initial repo files (#1) 2020-09-04 00:46:36 +10:00
CHANGELOG.md Pre-release v0.1.0-B2012007 (#10) 2020-12-30 00:12:36 +10:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-09-03 07:31:36 -07:00
CONTRIBUTING.md Add support documentation (#8) 2020-12-28 00:57:46 +10:00
LICENSE Initial repo files (#1) 2020-09-04 00:46:36 +10:00
README.md Add support documentation (#8) 2020-12-28 00:57:46 +10:00
RuleToc.Doc.ps1 Added project files (#3) 2020-11-24 23:54:14 +10:00
SECURITY.md Initial repo files (#1) 2020-09-04 00:46:36 +10:00
SUPPORT.md Add support documentation (#8) 2020-12-28 00:57:46 +10:00
build.ps1 Added project files (#3) 2020-11-24 23:54:14 +10:00
pipeline.build.ps1 Update CI pipeline for publishing (#9) 2020-12-28 01:25:37 +10:00
ps-project.yaml Add unit tests and PSRule v1 #6 (#7) 2020-12-27 01:03:51 +10:00
ps-rule.yaml Update CI pipeline for publishing (#9) 2020-12-28 01:25:37 +10:00

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.

ci-badge

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.

Join the chat

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

  1. See Creating a workflow file.
  2. Reference Microsoft/ps-rule with modules: '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.