エラー修正
This commit is contained in:
parent
89326a1c28
commit
dd472e0a90
25
.github/workflows/pyruff.yml
vendored
25
.github/workflows/pyruff.yml
vendored
@ -35,20 +35,21 @@ jobs:
|
||||
- name: Check Initer
|
||||
id: checkIniter
|
||||
run: |
|
||||
echo "Running Ruff Lint Check..."
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user