microsoft / sarif-tools

A set of Python command line tools for working with SARIF files produced by code analysis tools
MIT License
87 stars 19 forks source link

Prevent Sarif-Tools-Release pipeline from running on PRs #60

Closed debonte closed 3 weeks ago

debonte commented 3 weeks ago

To enable testing of the new AzDO-based release pipeline, I added an empty release.yml a while back. The presence of the file was necessary to create the pipeline. However, it is currently running against all PRs, whereas it is intended to only run when kicked off manually or perhaps based on tag creation.

This PR adds a minimal chunk of YAML to prevent the pipeline from running in PRs. The pr: none at the top is the relevant bit. trigger: none tells it to not run on commits in main (CI) either. And the simple stages are required because all pipelines must have at least one stage, one job, and one step.