From 9f8df3529fa9026134d8fc01ab6daa21f36dcfbf Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 30 Dec 2021 14:58:57 -0500 Subject: [PATCH] rename lint workflow for less confusion For a long time now, this has done 3 different things, only one of which is mypy. But they are labeled: - LintMypy / lint (runs pylint) - LintMypy / custom_lint (runs a custom script) - LintMypy / mypy (actually runs mypy) This reduces the usable length of the label which isn't all that long to begin with, is actively misleading, and even when you know what is going on, it becomes harder to tell at a glance what failed. Change it to be more unambiguous. --- .github/workflows/{lint_mypy.yml => lint.yml} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{lint_mypy.yml => lint.yml} (84%) diff --git a/.github/workflows/lint_mypy.yml b/.github/workflows/lint.yml similarity index 84% rename from .github/workflows/lint_mypy.yml rename to .github/workflows/lint.yml index 957270773..cdfed113d 100644 --- a/.github/workflows/lint_mypy.yml +++ b/.github/workflows/lint.yml @@ -1,22 +1,22 @@ -name: LintMypy +name: Lint concurrency: - group: mypy-${{ github.head_ref }} + group: lint-${{ github.head_ref }} cancel-in-progress: true on: push: paths: - "**.py" - - ".github/workflows/lint_mypy.yml" + - ".github/workflows/lint.yml" pull_request: paths: - "**.py" - - ".github/workflows/lint_mypy.yml" + - ".github/workflows/lint.yml" jobs: - lint: + pylint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2