{"id":28487699,"url":"https://github.com/citation-style-language/sheldon","last_synced_at":"2025-07-08T17:35:58.913Z","repository":{"id":30795421,"uuid":"34352465","full_name":"citation-style-language/Sheldon","owner":"citation-style-language","description":"Pull request bot for the CSL styles repository","archived":false,"fork":false,"pushed_at":"2024-10-16T12:01:40.000Z","size":178,"stargazers_count":3,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-08T04:43:02.401Z","etag":null,"topics":["citation-style-language","github-bot"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/citation-style-language.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"adam3smith"}},"created_at":"2015-04-21T21:13:02.000Z","updated_at":"2024-10-16T12:01:45.000Z","dependencies_parsed_at":"2024-10-18T23:50:17.487Z","dependency_job_id":null,"html_url":"https://github.com/citation-style-language/Sheldon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/citation-style-language/Sheldon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-style-language%2FSheldon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-style-language%2FSheldon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-style-language%2FSheldon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-style-language%2FSheldon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/citation-style-language","download_url":"https://codeload.github.com/citation-style-language/Sheldon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-style-language%2FSheldon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046432,"owners_count":23405186,"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":["citation-style-language","github-bot"],"created_at":"2025-06-08T04:33:15.856Z","updated_at":"2025-07-01T22:31:56.205Z","avatar_url":"https://github.com/citation-style-language.png","language":"Ruby","funding_links":["https://github.com/sponsors/adam3smith"],"categories":[],"sub_categories":[],"readme":"# Sheldon\n\nSheldon is used to provide test feedback on styles/locales PRs. It\nassumes a few things about the environment it's ran in, most of\nwhich will automatically be set up correctly when ran on Travis\n(which is where it will usually run).\n\n## Environment variables for submitting the build details to Sheldon, to be ran on the styles/locales REPO\n\nThese will all be set by Travis automatically.\n\n* `TRAVIS_PULL_REQUEST` is the number of the pull request/issue.\n* `TRAVIS_COMMIT_RANGE` is the range of commits included in the PR.\n* `TRAVIS_REPO_SLUG` is the repo being tested.\n* `TRAVIS_BUILD_ID` is the internal Travis build ID. Not the same as the build number.\n\nexample `.env` for local testing:\n\n```\nTRAVIS_PULL_REQUEST=1\nTRAVIS_COMMIT_RANGE=master\nTRAVIS_REPO_SLUG=clone/styles\nTRAVIS_BUILD_ID=1\n```\n\n## Expected files in the repo being tested.\n\n* `spec/sheldon/travis.json` (optional). Generated by rspec; when present, Sheldon will look for errors in this file. When errors are found, Sheldon will post `build_failed.md.erb` (see below) and quit.\n\n## Feedback templates\n\nSheldon includes templates for the messages to be posted on the github pull requests:\n\n* `templates/{locales,styles}/pull_request_opened.md.erb`: the welcome message when a new PR is opened. Even though this is an ERB template, no variables are currently passed to it.\n* `templates/{locales,styles}/build_passed.md.erb`: the message posted when tests pass. Gets variable `build_url` to link back to the Travis report. For styles, also gets the variable `build_details`, which contains a rendering of the modified/added styles.\n* `templates/{locales,styles}/build_failed.md.erb`: the message posted when tests fail. Gets variable `build_url` to link back to the Travis report, and a variable `build_details` which is a summary of the errors.\n\n# Updating Sheldon\n\nAfter making changes to Sheldon-gem,\n\n* commit your changes\n* run `rake bump`\n* run `git push`\n* run `bundle update` in the `styles` and `locales` repos\n\nAfter making changes to Sheldon-bot,\n\n* Make sure the heroku memcached add-on is activated\n* Deploy to heroku\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitation-style-language%2Fsheldon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcitation-style-language%2Fsheldon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitation-style-language%2Fsheldon/lists"}