Prometheus exporter: Stabilize Target section #15409
Workflow file for this run
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: Checks | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| merge_group: | |
| permissions: | |
| contents: read | |
| jobs: | |
| markdownlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: run markdownlint | |
| run: make markdownlint | |
| yamllint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | |
| - name: install yamllint | |
| run: make install-yamllint | |
| - name: run yamllint | |
| run: yamllint . -f github | |
| markdown-link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: run markdown-link-check | |
| run: make markdown-link-check | |
| env: | |
| # see https://lychee.cli.rs/troubleshooting/rate-limits/#github-rate-limiting | |
| GITHUB_TOKEN: ${{ github.token }} | |
| markdown-toc-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: run markdown-toc | |
| run: make markdown-toc-check | |
| compliance-matrix-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: run compliance-matrix | |
| run: make compliance-matrix | |
| - name: validate compliance-matrix | |
| run: git diff --exit-code spec-compliance-matrix.md || (echo 'Generated compliance matrix is out of date, please run "make compliance-matrix" and commit the changes in this PR.' && exit 1) | |
| misspell: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: streetsidesoftware/cspell-action@de2a73e963e7443969755b648a1008f77033c5b2 # v8.4.0 | |
| with: | |
| incremental_files_only: false # check all files, not just changed files | |
| config: .cspell.yaml | |
| suggestions: true | |
| treat_flagged_words_as_errors: true | |
| textlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check out code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: install dependencies | |
| run: npm ci --ignore-scripts | |
| - name: run textlint | |
| run: make textlint format=github |