git-bot-feedback 0.5.0

A library designed for CI tools that posts comments on a Pull Request.
Documentation
[
  {
    "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652",
    "html_url": "https://github.com/cpp-linter/test-cpp-linter-action/commit/8d68756375e0483c7ac2b4d6bbbece420dbbb495#commitcomment-76453652",
    "id": 76453652,
    "node_id": "CC_kwDOFY2uzM4EjpcU",
    "user": {
      "login": "github-actions[bot]",
      "id": 41898282,
      "node_id": "MDM6Qm90NDE4OTgyODI=",
      "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/github-actions%5Bbot%5D",
      "html_url": "https://github.com/apps/github-actions",
      "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
      "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
      "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
      "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
      "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
      "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
      "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
      "type": "Bot",
      "site_admin": false
    },
    "position": null,
    "line": null,
    "path": null,
    "commit_id": "8d68756375e0483c7ac2b4d6bbbece420dbbb495",
    "created_at": "2022-06-19T12:17:04Z",
    "updated_at": "2022-06-19T12:17:04Z",
    "author_association": "NONE",
    "body": "<!-- git-bot-feedback -->\n## :scroll: Run `clang-format` on the following files\n- [ ] src\\demo.cpp\n- [ ] src\\demo.hpp\n\n---\n## :speech_balloon: Output from `clang-tidy`\n<details><summary>src\\demo.cpp</summary><br>\n<details open>\n<summary><strong>C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.32.31326\\include\\yvals_core.h:599:2:</strong> error: [clang-diagnostic-error]\n\n> STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n</summary><p>\n\n```.h\n#error STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n ^\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:6:8:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nsize_t dummyFunc(size_t i) { return i; }\n~~~~~~ ^\nauto                       -> size_t\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:8:5:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nint main()\n~~~ ^\nauto       -> int\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:10:13:</strong> warning: [readability-braces-around-statements]\n\n> statement should be inside braces\n</summary><p>\n\n```.cpp\n    for (;;)\n            ^\n             {\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:13:5:</strong> warning: [cppcoreguidelines-pro-type-vararg]\n\n> do not call c-style vararg functions\n</summary><p>\n\n```.cpp\n    printf(\"Hello world!\\n\");\n    ^\n```\n</p>\n</details>\n\n<hr></details><details><summary>src\\demo.hpp</summary><br>\n<details open>\n<summary><strong>src\\demo.hpp:10:11:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.hpp\n    void *not_usefull(char *str){\n    ~~~~~~^\n    auto                         -> void *\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.hpp:12:16:</strong> warning: [modernize-use-nullptr]\n\n> use nullptr\n</summary><p>\n\n```.hpp\n        return 0;\n               ^\n               nullptr\n```\n</p>\n</details>\n\n",
    "reactions": {
      "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    }
  },
  {
    "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652",
    "html_url": "https://github.com/cpp-linter/test-cpp-linter-action/commit/8d68756375e0483c7ac2b4d6bbbece420dbbb495#commitcomment-76453652",
    "id": 76453653,
    "node_id": "CC_kwDOFY2uzM4EjpcU",
    "user": {
      "login": "github-actions[bot]",
      "id": 41898282,
      "node_id": "MDM6Qm90NDE4OTgyODI=",
      "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/github-actions%5Bbot%5D",
      "html_url": "https://github.com/apps/github-actions",
      "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
      "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
      "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
      "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
      "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
      "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
      "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
      "type": "Bot",
      "site_admin": false
    },
    "position": null,
    "line": null,
    "path": null,
    "commit_id": "8d68756375e0483c7ac2b4d6bbbece420dbbb495",
    "created_at": "2022-06-19T12:17:04Z",
    "updated_at": "2022-06-19T12:17:04Z",
    "author_association": "NONE",
    "body": "## :scroll: Run `clang-format` on the following files\n- [ ] src\\demo.cpp\n- [ ] src\\demo.hpp\n\n---\n## :speech_balloon: Output from `clang-tidy`\n<details><summary>src\\demo.cpp</summary><br>\n<details open>\n<summary><strong>C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.32.31326\\include\\yvals_core.h:599:2:</strong> error: [clang-diagnostic-error]\n\n> STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n</summary><p>\n\n```.h\n#error STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n ^\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:6:8:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nsize_t dummyFunc(size_t i) { return i; }\n~~~~~~ ^\nauto                       -> size_t\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:8:5:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nint main()\n~~~ ^\nauto       -> int\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:10:13:</strong> warning: [readability-braces-around-statements]\n\n> statement should be inside braces\n</summary><p>\n\n```.cpp\n    for (;;)\n            ^\n             {\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:13:5:</strong> warning: [cppcoreguidelines-pro-type-vararg]\n\n> do not call c-style vararg functions\n</summary><p>\n\n```.cpp\n    printf(\"Hello world!\\n\");\n    ^\n```\n</p>\n</details>\n\n<hr></details><details><summary>src\\demo.hpp</summary><br>\n<details open>\n<summary><strong>src\\demo.hpp:10:11:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.hpp\n    void *not_usefull(char *str){\n    ~~~~~~^\n    auto                         -> void *\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.hpp:12:16:</strong> warning: [modernize-use-nullptr]\n\n> use nullptr\n</summary><p>\n\n```.hpp\n        return 0;\n               ^\n               nullptr\n```\n</p>\n</details>\n\n",
    "reactions": {
      "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    }
  },
  {
    "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652",
    "html_url": "https://github.com/cpp-linter/test-cpp-linter-action/commit/8d68756375e0483c7ac2b4d6bbbece420dbbb495#commitcomment-76453652",
    "id": 76453652,
    "node_id": "CC_kwDOFY2uzM4EjpcU",
    "user": {
      "login": "github-actions[bot]",
      "id": 41898282,
      "node_id": "MDM6Qm90NDE4OTgyODI=",
      "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/github-actions%5Bbot%5D",
      "html_url": "https://github.com/apps/github-actions",
      "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
      "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
      "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
      "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
      "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
      "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
      "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
      "type": "Bot",
      "site_admin": false
    },
    "position": null,
    "line": null,
    "path": null,
    "commit_id": "8d68756375e0483c7ac2b4d6bbbece420dbbb495",
    "created_at": "2022-06-19T12:17:04Z",
    "updated_at": "2022-06-19T12:17:04Z",
    "author_association": "NONE",
    "body": "<!-- git-bot-feedback -->\n## :scroll: Run `clang-format` on the following files\n- [ ] src\\demo.cpp\n- [ ] src\\demo.hpp\n\n---\n## :speech_balloon: Output from `clang-tidy`\n<details><summary>src\\demo.cpp</summary><br>\n<details open>\n<summary><strong>C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.32.31326\\include\\yvals_core.h:599:2:</strong> error: [clang-diagnostic-error]\n\n> STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n</summary><p>\n\n```.h\n#error STL1000: Unexpected compiler version, expected Clang 13.0.0 or newer.\n ^\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:6:8:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nsize_t dummyFunc(size_t i) { return i; }\n~~~~~~ ^\nauto                       -> size_t\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:8:5:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.cpp\nint main()\n~~~ ^\nauto       -> int\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:10:13:</strong> warning: [readability-braces-around-statements]\n\n> statement should be inside braces\n</summary><p>\n\n```.cpp\n    for (;;)\n            ^\n             {\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.cpp:13:5:</strong> warning: [cppcoreguidelines-pro-type-vararg]\n\n> do not call c-style vararg functions\n</summary><p>\n\n```.cpp\n    printf(\"Hello world!\\n\");\n    ^\n```\n</p>\n</details>\n\n<hr></details><details><summary>src\\demo.hpp</summary><br>\n<details open>\n<summary><strong>src\\demo.hpp:10:11:</strong> warning: [modernize-use-trailing-return-type]\n\n> use a trailing return type for this function\n</summary><p>\n\n```.hpp\n    void *not_usefull(char *str){\n    ~~~~~~^\n    auto                         -> void *\n```\n</p>\n</details>\n\n<details open>\n<summary><strong>src\\demo.hpp:12:16:</strong> warning: [modernize-use-nullptr]\n\n> use nullptr\n</summary><p>\n\n```.hpp\n        return 0;\n               ^\n               nullptr\n```\n</p>\n</details>\n\n",
    "reactions": {
      "url": "https://api.github.com/repos/cpp-linter/test-cpp-linter-action/comments/76453652/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    }
  }
]