File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020 - name : Run REUSE lint
2121 id : lcheck
22- run : pipx run reuse==5.1.1 lint
22+ run : pipx run reuse==6.2.0 lint
2323 continue-on-error : true
2424 env :
2525 PIPX_DEFAULT_PYTHON : ${{ steps.python.outputs.python-path }}
4444 CHANGED_FILES=$(git diff --name-only $BASE_SHA...$HEAD_SHA | tr '\n' ' ')
4545
4646 # 执行 Python 脚本,如果失败则记录 output 变量
47- if ! pipx run reuse==5.1.1 spdx | python3 .github/scripts/check_copyright.py $CHANGED_FILES > year_check_report.md 2>&1; then
47+ if ! pipx run reuse==6.2.0 spdx | python3 .github/scripts/check_copyright.py $CHANGED_FILES > year_check_report.md 2>&1; then
4848 echo "failed=true" >> $GITHUB_OUTPUT
4949 fi
5050
5959 echo "### ❌ REUSE Compliance Check Failed" >> $GITHUB_STEP_SUMMARY
6060 echo "<details><summary>Click to view lint details</summary>" >> $GITHUB_STEP_SUMMARY
6161 echo -e "\n\`\`\`" >> $GITHUB_STEP_SUMMARY
62- pipx run reuse==5.1.1 lint >> $GITHUB_STEP_SUMMARY || true
62+ pipx run reuse==6.2.0 lint >> $GITHUB_STEP_SUMMARY || true
6363 echo -e "\`\`\`\n" >> $GITHUB_STEP_SUMMARY
6464 echo "</details>" >> $GITHUB_STEP_SUMMARY
6565 fi
You can’t perform that action at this time.
0 commit comments