From f17a71c2e44cbdfc90b2134395da1f9ff409ecd5 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Fri, 13 Sep 2024 18:46:26 -0400 Subject: [action][format] rename format check file name --- .github/workflows/file_check.yml | 28 ---------------------------- .github/workflows/format_check.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/file_check.yml create mode 100644 .github/workflows/format_check.yml diff --git a/.github/workflows/file_check.yml b/.github/workflows/file_check.yml deleted file mode 100644 index 2959db7e58..0000000000 --- a/.github/workflows/file_check.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Check File Format and License - -on: - pull_request: - branches: - - master - paths-ignore: - - documentation/** - - '**/README.md' - - '**/README_zh.md' - -jobs: - scancode_job: - runs-on: ubuntu-latest - name: Scan code format and license - if: github.repository_owner == 'RT-Thread' - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: 3.8 - - - name: Check Format and License - shell: bash - run: | - pip install click chardet PyYaml - python tools/ci/file_check.py check 'https://github.com/RT-Thread/rt-thread' 'master' diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml new file mode 100644 index 0000000000..2959db7e58 --- /dev/null +++ b/.github/workflows/format_check.yml @@ -0,0 +1,28 @@ +name: Check File Format and License + +on: + pull_request: + branches: + - master + paths-ignore: + - documentation/** + - '**/README.md' + - '**/README_zh.md' + +jobs: + scancode_job: + runs-on: ubuntu-latest + name: Scan code format and license + if: github.repository_owner == 'RT-Thread' + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: 3.8 + + - name: Check Format and License + shell: bash + run: | + pip install click chardet PyYaml + python tools/ci/file_check.py check 'https://github.com/RT-Thread/rt-thread' 'master' -- cgit v1.3.1