diff --git a/.github/workflows/radon-analysis.yml b/.github/workflows/radon-analysis.yml index d2c23126..91278b34 100644 --- a/.github/workflows/radon-analysis.yml +++ b/.github/workflows/radon-analysis.yml @@ -14,9 +14,9 @@ jobs: run: pip install radon - name: Create Radon's reports run: | - radon cc $(git diff --name-only 2.0) -j >cc.json - radon mi $(git diff --name-only 2.0) -j >mi.json - radon hal $(git diff --name-only 2.0) -j >hal.json + radon cc $(git diff --name-only 2.0...HEAD) -j >cc.json + radon mi $(git diff --name-only 2.0...HEAD) -j >mi.json + radon hal $(git diff --name-only 2.0...HEAD) -j >hal.json - name: Comment the results on the PR uses: Libra-foundation/radon-comment@v0.1 with: