From e1223c498230d965c277b66bc123f513791ce6a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 23:09:49 +0200 Subject: [PATCH 1/5] Bump clang-tools from 0.13.1 to 0.14.0 in the pip group (#288) --- .github/workflows/self-test.yml | 2 +- action.yml | 4 ++-- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index e2b1f54..1d14324 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - clang-version: ['9','10', '11', '12', '13', '14', '15', '16', '17', '18'] + clang-version: ['9','10', '11', '12', '13', '14', '15', '16', '17', '18', '19'] fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/action.yml b/action.yml index a676f41..7024d1a 100644 --- a/action.yml +++ b/action.yml @@ -39,12 +39,12 @@ inputs: version: description: | The desired version of the [clang-tools](https://github.com/cpp-linter/clang-tools-pip) to use. - Accepted options are strings which can be 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8 or 7. + Accepted options are strings which can be 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8 or 7. - Set this option to a blank string (`''`) to use the platform's default installed version. - This value can also be a path to where the clang tools are installed (if using a custom install location). required: false - default: 12 + default: 14 verbosity: description: | This controls the action's verbosity in the workflow's logs. diff --git a/requirements.txt b/requirements.txt index e71f5e4..4cf3116 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Install clang-tools binaries (clang-format, clang-tidy) # For details please see: https://github.com/cpp-linter/clang-tools-pip -clang-tools==0.13.1 +clang-tools==0.14.0 # cpp-linter core Python executable package # For details please see: https://github.com/cpp-linter/cpp-linter From c2da070236281f6d44e739238632de5e1d2d6c7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:12:57 +0200 Subject: [PATCH 2/5] chore: automatically update used-by badge (#285) * chore: update used-by badge by github-actions[bot] * chore: update used-by.yml cron to monthly --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: shenxianpeng --- .github/workflows/used-by.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/used-by.yml b/.github/workflows/used-by.yml index 34bd71e..d6f558e 100644 --- a/.github/workflows/used-by.yml +++ b/.github/workflows/used-by.yml @@ -3,7 +3,7 @@ name: Used By on: schedule: # https://crontab.guru/ - - cron: '0 9 * * 1' # At 09:00 on Monday. + - cron: '0 9 1 * *' # At 09:00 on day-of-month 1 workflow_dispatch: jobs: diff --git a/README.md b/README.md index bb4c193..36469b6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ # C/C++ Linter Action | clang-format & clang-tidy ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cpp-linter/cpp-linter-action) -[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=702&color=informational&logo=slickpic)](https://github.com/cpp-linter/cpp-linter-action/network/dependents) +[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=721&color=informational&logo=slickpic)](https://github.com/cpp-linter/cpp-linter-action/network/dependents) [![GitHub marketplace](https://img.shields.io/badge/marketplace-C%2FC%2B%2B%20Linter-blue?logo=github)](https://github.com/marketplace/actions/c-c-linter) [![cpp-linter](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml) [![MkDocs Deploy](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml) From 1f17beec5b849076a66af41aca1a44a041625541 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 18:44:15 +0800 Subject: [PATCH 3/5] chore: update used-by badge by github-actions[bot] (#291) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36469b6..efb23a4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ # C/C++ Linter Action | clang-format & clang-tidy ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cpp-linter/cpp-linter-action) -[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=721&color=informational&logo=slickpic)](https://github.com/cpp-linter/cpp-linter-action/network/dependents) +[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=757&color=informational&logo=slickpic)](https://github.com/cpp-linter/cpp-linter-action/network/dependents) [![GitHub marketplace](https://img.shields.io/badge/marketplace-C%2FC%2B%2B%20Linter-blue?logo=github)](https://github.com/marketplace/actions/c-c-linter) [![cpp-linter](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml) [![MkDocs Deploy](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml) From 42f87fd49e296695d525865c175baee28374e69f Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 24 Mar 2025 22:31:50 +0800 Subject: [PATCH 4/5] docs: add used by section (#293) * docs: add used by section * docs: move used-by section to the top * fix pre-commit failing * remove usedby badge and workflow * add space between each iteam * adjust used-by section position * add links to icons * adjust used by section position * Update README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * add
to make sure logo and name in the same line * use markdown instead of html per code review * move links to used-by section * change img width to 28px * adjust layout * add more space between logo&name * adjust layout * change back to html * adjust layout * added warning back --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .github/workflows/used-by.yml | 28 --------------------------- README.md | 36 +++++++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/used-by.yml diff --git a/.github/workflows/used-by.yml b/.github/workflows/used-by.yml deleted file mode 100644 index d6f558e..0000000 --- a/.github/workflows/used-by.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Used By - -on: - schedule: - # https://crontab.guru/ - - cron: '0 9 1 * *' # At 09:00 on day-of-month 1 - workflow_dispatch: - -jobs: - used-by: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: shenxianpeng/used-by@v0.1.4 - with: - repo: '${{ github.repository }}' - update-badge: 'true' - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v7 - with: - add-paths: "README.md" # the file path to commit - commit-message: "chore: update used-by badge by github-actions[bot]" - author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - title: "chore: automatically update used-by badge" - base: main - labels: skip-changelog - delete-branch: true diff --git a/README.md b/README.md index efb23a4..1bc3c63 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ # C/C++ Linter Action | clang-format & clang-tidy ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cpp-linter/cpp-linter-action) -[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=757&color=informational&logo=slickpic)](https://github.com/cpp-linter/cpp-linter-action/network/dependents) [![GitHub marketplace](https://img.shields.io/badge/marketplace-C%2FC%2B%2B%20Linter-blue?logo=github)](https://github.com/marketplace/actions/c-c-linter) [![cpp-linter](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml) [![MkDocs Deploy](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/mkdocs-deploy.yml) @@ -71,6 +70,40 @@ For all explanations of our available input parameters and output variables, see See also our [example recipes][recipes-doc]. +## Used By + +

+ Microsoft + Microsoft   + Apache + Apache   + NASA + NASA   + Samsung + Samsung   + TheAlgorithms + TheAlgorithms   + CachyOS + CachyOS   +
+ Nextcloud + Nextcloud   + Jupyter + Jupyter   + NNStreamer + NNStreamer   + imgproxy + imgproxy   + Zondax + Zondax   + AppNeta + AppNeta   +
+ Chocolate Doom + Chocolate Doom + and many more. +

+ ## Example ### Annotations @@ -113,7 +146,6 @@ Using [`format-review`][format-review]: ![sample format-suggestion][format-suggestion-preview] - ## Add C/C++ Linter Action badge in README You can show C/C++ Linter Action status with a badge in your repository README From 8ae6cfaea8cc035c6155b5fe79d7991a9bf638af Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 24 Mar 2025 22:55:41 +0800 Subject: [PATCH 5/5] update config.yml to remove non-working link (#294) --- .github/ISSUE_TEMPLATE/config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ca90cb7..8c3ec94 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -6,6 +6,3 @@ contact_links: - name: cpp-linter discussions url: https://github.com/orgs/cpp-linter/discussions about: A place for feedback not specific to cpp-linter-action - - name: Maintainers' note - url: https://github.com/cpp-linter/cpp-linter-action/issues/new - about: Start a discussion for maintainers only