[Python-checkins] [3.11] Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005) (#108050)
hugovk
webhook-mailer at python.org
Wed Aug 16 15:02:15 EDT 2023
https://github.com/python/cpython/commit/05ff5fa11d5e082906042ef7b48163c2f0f2c888
commit: 05ff5fa11d5e082906042ef7b48163c2f0f2c888
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: hugovk <hugovk at users.noreply.github.com>
date: 2023-08-16T19:02:11Z
summary:
[3.11] Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005) (#108050)
Co-authored-by: Hugo van Kemenade <hugovk at users.noreply.github.com>
files:
D .github/problem-matchers/sphinx.json
M .github/workflows/reusable-docs.yml
diff --git a/.github/problem-matchers/sphinx.json b/.github/problem-matchers/sphinx.json
deleted file mode 100644
index 09848608a7b03..0000000000000
--- 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 eade14bc8d619..9c1ed2788080d 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 at v3
- - name: Register Sphinx problem matcher
- run: echo "::add-matcher::.github/problem-matchers/sphinx.json"
- name: 'Set up Python'
uses: actions/setup-python at v4
with:
@@ -65,8 +63,6 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout at v3
- - name: Register Sphinx problem matcher
- run: echo "::add-matcher::.github/problem-matchers/sphinx.json"
- uses: actions/cache at v3
with:
path: ~/.cache/pip
More information about the Python-checkins
mailing list