From 78bade9d1112d6fc6018b2197fa5a5ce403b46a7 Mon Sep 17 00:00:00 2001 From: "ry.yamafuji" Date: Thu, 4 Dec 2025 14:44:13 +0900 Subject: [PATCH] debug --- .github/workflows/pyruff.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pyruff.yml b/.github/workflows/pyruff.yml index ef57e0f..3bd342d 100644 --- a/.github/workflows/pyruff.yml +++ b/.github/workflows/pyruff.yml @@ -36,24 +36,20 @@ jobs: id: checkIniter run: | echo "Running Ruff Lint Check..." - python -m ruff --version - echo "Running Ruff Lint Check..." - python ruff --version - ruff check . - ruff check . --output-format json --output-file ruff-report.json + python -m ruff check . --output-format json --output-file ruff-report.json echo "Ruff Lint Check completed. ruff-report.json" - # - name: Generate Linter Report - # id: generateLinterReport - # run: | - # python scripts/generate_linter_from_json.py + - name: Generate Linter Report + id: generateLinterReport + run: | + python scripts/generate_linter_from_json.py - # - name: pull_request message with Ruff Lint results - # id: prMessageRuffLint - # run: | - # curl -v -X POST \ - # -H "Content-Type: application/json" \ - # -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ - # -d @lint-result.json \ - # ${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments + - name: pull_request message with Ruff Lint results + id: prMessageRuffLint + run: | + curl -v -X POST \ + -H "Content-Type: application/json" \ + -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + -d @lint-result.json \ + ${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/8/comments