diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index 3279467..0000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Lint - -on: - pull_request: - paths: - - "**.py" - -jobs: - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Install python packages - run: pip install black ruff pre-commit-hooks - - - name: Run pre-commit-hooks - run: | - check-ast - trailing-whitespace-fixer --markdown-linebreak-ext=md - end-of-file-fixer - mixed-line-ending - - - name: Run black - run: black --check . - - - name: Run ruff - run: ruff check . diff --git a/.github/workflows/notlint.yml b/.github/workflows/notlint.yml new file mode 100644 index 0000000..faa3343 --- /dev/null +++ b/.github/workflows/notlint.yml @@ -0,0 +1,19 @@ +name: Not Lint + +on: + pull_request: + types: + - opened + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: wow-actions/auto-comment@v1 + with: + GITHUB_TOKEN: ${{ github.token }} + pullRequestOpened: | + ![Imgur](https://i.imgur.com/ESow3BL.png) + + LGTM