[PR #500] [CLOSED] GitHub Action run cpplint only on files that differ from master #918

Open
opened 2026-01-29 15:16:15 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/500
Author: @cclauss
Created: 11/28/2019
Status: Closed

Base: masterHead: cpplint_modified_files


📝 Commits (4)

  • 1502c9e GitHub Action run cpplint only on files that differ from master
  • c36e800 g++ cpp_files
  • 69b7aa0 Update cpplint_modified_files.yml
  • 554a175 f-strings

📊 Changes

1 file changed (+64 additions, -0 deletions)

View changed files

.github/workflows/cpplint_modified_files.yml (+64 -0)

📄 Description

GitHub Action that runs cpplint only on those files in a pull request that have been modified vs. origin/master
This allows for gradual compliance with cpplint as only files added or modified are checked.
Other optional filepath verifications are commented out at the end of this file.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/500 **Author:** [@cclauss](https://github.com/cclauss) **Created:** 11/28/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `cpplint_modified_files` --- ### 📝 Commits (4) - [`1502c9e`](https://github.com/TheAlgorithms/C/commit/1502c9e59f79e9a45348103aca657983a9a76627) GitHub Action run cpplint only on files that differ from master - [`c36e800`](https://github.com/TheAlgorithms/C/commit/c36e80092c1834b1c4f63166d42d44b20c518703) g++ cpp_files - [`69b7aa0`](https://github.com/TheAlgorithms/C/commit/69b7aa0152ca40c7714dd86f906fcaa65849478b) Update cpplint_modified_files.yml - [`554a175`](https://github.com/TheAlgorithms/C/commit/554a175763a336c73a65f7df6b6e64dcd552612e) f-strings ### 📊 Changes **1 file changed** (+64 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/cpplint_modified_files.yml` (+64 -0) </details> ### 📄 Description GitHub Action that runs cpplint only on those files in a pull request that have been modified vs. origin/master This allows for gradual compliance with cpplint as only files added or modified are checked. Other optional filepath verifications are commented out at the end of this file. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:16:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#918