Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
highflame-lint-check:
permissions:
contents: 'read'
id-token: 'write'
runs-on: ubuntu-24.04
steps:
- name: Checkout
Expand All @@ -72,19 +73,29 @@ jobs:
python-version: ${{ env.PY_VER }}
cache: 'pip'

- name: Python Lint Check
- name: Lint Check
shell: bash
run: |-
pip install flake8
flake8 . --config=${{ env.PY_LINT_CFG }} --output-file=${{ env.LINT_REPORT_FILE }}.json

pip install flake8
flake8 . --config=${{ env.PY_LINT_CFG }} --output-file=${{ env.LINT_REPORT_FILE }}.json
- name: Upload Lint Report
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.LINT_REPORT_FILE }}
path: ${{ env.LINT_REPORT_FILE }}.json
retention-days: 1

- name: Check If File Exists
id: check_lint_report
run: |
if [[ -f "${{ env.LINT_REPORT_FILE }}.json" ]] ; then
echo "lint_report=true" >> ${GITHUB_OUTPUT}
fi
outputs:
lint_report: ${{ steps.check_lint_report.outputs.lint_report }}

highflame-trivy-scan:
permissions:
contents: 'read'
Expand Down