diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2023-08-16 18:18:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 18:18:56 (GMT) |
commit | 0d7f5d3ba3641f8c7d32facbb177bf70ee7520d1 (patch) | |
tree | be8f8d9f58c2f3665b283349df4a522dc845bc39 /.github | |
parent | c2941cba7a986e6158eebb2a0bf33906dcd78616 (diff) | |
download | cpython-0d7f5d3ba3641f8c7d32facbb177bf70ee7520d1.zip cpython-0d7f5d3ba3641f8c7d32facbb177bf70ee7520d1.tar.gz cpython-0d7f5d3ba3641f8c7d32facbb177bf70ee7520d1.tar.bz2 |
Remove Sphinx problem matcher to avoid annotating unchanged files (#108005)
Diffstat (limited to '.github')
-rw-r--r-- | .github/problem-matchers/sphinx.json | 40 | ||||
-rw-r--r-- | .github/workflows/reusable-docs.yml | 4 |
2 files changed, 0 insertions, 44 deletions
diff --git a/.github/problem-matchers/sphinx.json b/.github/problem-matchers/sphinx.json deleted file mode 100644 index 0984860..0000000 --- a/.github/problem-matchers/sphinx.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "sphinx-problem-matcher", - "pattern": [ - { - "regexp": "^(.*):(\\d+):\\s+(\\w*):\\s+(.*)$", - "file": 1, - "line": 2, - "severity": 3, - "message": 4 - } - ] - }, - { - "owner": "sphinx-problem-matcher-loose", - "pattern": [ - { - "_comment": "A bit of a looser pattern, doesn't look for line numbers, just looks for file names relying on them to start with / and end with .rst", - "regexp": "(\/.*\\.rst):\\s+(\\w*):\\s+(.*)$", - "file": 1, - "severity": 2, - "message": 3 - } - ] - }, - { - "owner": "sphinx-problem-matcher-loose-no-severity", - "pattern": [ - { - "_comment": "Looks for file names ending with .rst and line numbers but without severity", - "regexp": "^(.*\\.rst):(\\d+):(.*)$", - "file": 1, - "line": 2, - "message": 3 - } - ] - } - ] -}
\ No newline at end of file diff --git a/.github/workflows/reusable-docs.yml b/.github/workflows/reusable-docs.yml index 56932c4..39e5ad6 100644 --- a/.github/workflows/reusable-docs.yml +++ b/.github/workflows/reusable-docs.yml @@ -18,8 +18,6 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v3 - - name: Register Sphinx problem matcher - run: echo "::add-matcher::.github/problem-matchers/sphinx.json" - name: 'Set up Python' uses: actions/setup-python@v4 with: @@ -76,8 +74,6 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v3 - - name: Register Sphinx problem matcher - run: echo "::add-matcher::.github/problem-matchers/sphinx.json" - uses: actions/cache@v3 with: path: ~/.cache/pip |