{"id":18455224,"url":"https://github.com/castagnait/action_rules_checker","last_synced_at":"2025-04-22T17:05:21.237Z","repository":{"id":39130705,"uuid":"308577250","full_name":"CastagnaIT/action_rules_checker","owner":"CastagnaIT","description":"GitHub Action to check some rules in the Issues","archived":false,"fork":false,"pushed_at":"2023-02-01T16:10:17.000Z","size":388,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T14:56:12.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CastagnaIT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-30T09:05:22.000Z","updated_at":"2022-03-06T14:10:50.000Z","dependencies_parsed_at":"2023-02-17T07:46:12.966Z","dependency_job_id":null,"html_url":"https://github.com/CastagnaIT/action_rules_checker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CastagnaIT%2Faction_rules_checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CastagnaIT%2Faction_rules_checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CastagnaIT%2Faction_rules_checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CastagnaIT%2Faction_rules_checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CastagnaIT","download_url":"https://codeload.github.com/CastagnaIT/action_rules_checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285662,"owners_count":21405296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:07:29.099Z","updated_at":"2025-04-22T17:05:21.216Z","avatar_url":"https://github.com/CastagnaIT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action Rules checker\n\n[![GitHub release](https://img.shields.io/github/release/castagnait/action_rules_checker.svg)](https://github.com/castagnait/action_rules_checker/releases)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nThis is a GitHub action to check some rules in any issues that are opened or edited.\n\nCurrent checks:\n- If log links are attached\n- If the Issue use a definited template\n\nI created this GitHub Action project for exclusive use in my repository so it won't be published in the Marketplace, those who want to use this Action can do it following the instructions, improvements and feature additions will be welcome.\n\n## Usage\n\nIn your project repository create a `.github/workflows/rules-checker.yml` file:\n\n```yaml\nname: 'Rules checker'\non:\n  issues:\n    types:\n      - opened\njobs:\n  rules-checker:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n        name: \"Run Rules checker\"\n      - uses: CastagnaIT/action_rules_checker@v1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          log-miss-label-text: \"Ignored rules\"\n          log-section-start-text: \"### Debug log\"\n          log-section-end-text: \"### Additional context or screenshots (if appropriate)\"\n          log-miss-comment-text: |\n            Hey boy you forgot to attach the log\n            Please fix it\n          generic-comment-text: |\n            Hey boy you have not studied your homework\n            Now you will take the exam\n          triage-needed-label: \"Triage: Needed\"\n```\n\n## Configuration\n\nThe following inputs are required:\n\n- `github-token`: your GitHub token\n- `log-section-start-text`: text part of Issue body where to start the log search (case sensitive)\n- `log-section-end-text`: text part of Issue body to end the log search (case sensitive)\n- `log-miss-comment-text`: the text of the comment to be add to any issues that do not have a log attached\n- `generic-comment-text`: the text of the comment to be add to any issues that was made with an unknown template\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcastagnait%2Faction_rules_checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcastagnait%2Faction_rules_checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcastagnait%2Faction_rules_checker/lists"}