{"id":19383318,"url":"https://github.com/alignable/checkie","last_synced_at":"2026-06-08T21:32:42.026Z","repository":{"id":37960206,"uuid":"493381402","full_name":"Alignable/checkie","owner":"Alignable","description":"GitHub action to leave annotations in PRs based on rules","archived":false,"fork":false,"pushed_at":"2026-02-26T21:31:19.000Z","size":54,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-27T03:35:53.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alignable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-05-17T19:09:06.000Z","updated_at":"2026-02-20T14:33:59.000Z","dependencies_parsed_at":"2024-07-12T16:25:08.819Z","dependency_job_id":"cf9dcc90-8ae8-44b9-9cec-614d183f5e70","html_url":"https://github.com/Alignable/checkie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alignable/checkie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alignable%2Fcheckie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alignable%2Fcheckie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alignable%2Fcheckie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alignable%2Fcheckie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alignable","download_url":"https://codeload.github.com/Alignable/checkie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alignable%2Fcheckie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34082130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T09:25:32.129Z","updated_at":"2026-06-08T21:32:41.994Z","avatar_url":"https://github.com/Alignable.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup\n\n1. Create github action\n```yml\njobs:\n  checkie:\n    runs-on: ubuntu-latest\n    defaults:\n      run:\n        working-directory: ./.github/checkie\n    steps:\n      - uses: actions/checkout@v3\n      - uses: ruby/setup-ruby@v1\n        with:\n          working-directory: ./.github/checkie\n          bundler-cache: false\n      - run: bundle install\n      - run: bundle exec ruby main.rb $PR_URL $ACTION\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          PR_URL: ${{ github.event.pull_request.url }}\n          ACTION: ${{ github.event.action }}\n```\n2. Create project in `.github/checkie` with Gemfile:\n```ruby\ngem \"checkie\", github: 'Alignable/checkie'\n```\n3. Create main file:\n```ruby\nrequire './rules'\n\n# Run from command line with bundle exec ruby main.rb PR_URL ACTION_TYPE\nrun(ARGV[0].dup, ARGV[1].dup)\n```\n4. Write rules in that project in `rules.rb`. More info on writing rules in RULES.md example:\n```ruby\nfile_rule :hardcoded_url,\n          \"Looks like you might have a hardcoded url http:// - should that be an ENV variable?\"\n\nmatching(\"app/facades/**.rb\") do |changes, files|\n  changes.added(/https?\\:\\/\\//) do\n    check(:hardcoded_url)\n  end\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falignable%2Fcheckie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falignable%2Fcheckie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falignable%2Fcheckie/lists"}