Add code example for CA1725 rule (#48960) (#48961) #63060
This file contains hidden or 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
| name: Markdownlint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "**/*.md" | |
| - ".markdownlint-cli2.jsonc" | |
| - ".github/workflows/markdownlint.yml" | |
| - ".github/workflows/markdownlint-problem-matcher.json" | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| statuses: write | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0 | |
| with: | |
| config: ".markdownlint-cli2.jsonc" | |
| globs: "**/*.md" |