Repository navigation
fix[usb]: correct bInterfaceProtocol selection in HID descriptor #5573
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check File Format and License | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - documentation/** | |
| - '**/README.md' | |
| - '**/README_zh.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| scancode_job: | |
| runs-on: ubuntu-22.04 | |
| name: Scan code format and license | |
| if: github.repository_owner == 'RT-Thread' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.8 | |
| - name: Install clang-format | |
| shell: bash | |
| run: | | |
| python -m pip install -r tools/ci/requirements-format.txt | |
| clang-format --version | |
| - name: Check clang-format | |
| shell: bash | |
| run: | | |
| python tools/ci/clang_format_check.py --repo 'https://github.com/RT-Thread/rt-thread' --branch 'master' | |
| # # Post CI status to PR comment | |
| # post-ci-status: | |
| # needs: scancode_job | |
| # if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread' | |
| # uses: ./.github/workflows/post_ci_status.yml | |
| # with: | |
| # workflow_name: "Check File Format and License" | |
| # workflow_status: ${{ needs.scancode_job.result }} | |
| # pr_number: ${{ github.event.pull_request.number }} | |
| # permissions: | |
| # pull-requests: write | |
| # issues: write |