{"id":20807020,"url":"https://github.com/aperiosoftware/drone_email_new_files","last_synced_at":"2025-10-10T09:51:14.900Z","repository":{"id":133729681,"uuid":"293551325","full_name":"aperiosoftware/drone_email_new_files","owner":"aperiosoftware","description":"A Drone plugin to send summary emails about new files in a git repository","archived":false,"fork":false,"pushed_at":"2021-01-30T17:34:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-12T03:43:55.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/aperiosoftware.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}},"created_at":"2020-09-07T14:30:20.000Z","updated_at":"2021-01-30T17:34:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"e76838fe-8cf6-4ba1-b80b-44ee90f5a7f4","html_url":"https://github.com/aperiosoftware/drone_email_new_files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aperiosoftware/drone_email_new_files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperiosoftware%2Fdrone_email_new_files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperiosoftware%2Fdrone_email_new_files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperiosoftware%2Fdrone_email_new_files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperiosoftware%2Fdrone_email_new_files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aperiosoftware","download_url":"https://codeload.github.com/aperiosoftware/drone_email_new_files/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperiosoftware%2Fdrone_email_new_files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003414,"owners_count":26083582,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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-17T19:29:56.094Z","updated_at":"2025-10-10T09:51:14.871Z","avatar_url":"https://github.com/aperiosoftware.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Send emails about new files in a repository\n\nThis repository is a plugin for drone which lists all new files in a repo\nbetween two git refs, and then emails this list to a preconifgured address.\n\n## Configuration\n\nThis script uses the following environment variables, when setting them from\nthe `.drone.yml` file remove the `PLUGIN_` and make them lower case, an example\nconfig is:\n\n```\n  - name: notify\n    image: cadair/drone_email_new_files\n    settings:\n      smtp_server_address: \"smtp.example.com\"\n      smtp_server_username: \"user@example.com\"\n      smtp_server_password: \"CorrectHorseBatteryStaple\"\n      email_from_address: \"user@example.com\"\n      email_to_address: \"other@example.com\"\n      email_subject: \"Following files have been added to the repo\"\n      email_message_template: |\n        This is an automated message - there have been new files added to the repository:\n\n        {urls}\n\n      git_main_ref: \"HEAD\"\n      git_last_email_ref: \"last-notified\"\n      git_file_http_base_url: \"https://github.com/example/example/blob/master/\"\n```\n\n* `PLUGIN_SMTP_SERVER_ADDRESS`\n\n    The SMTP server address.\n\n* `PLUGIN_SMTP_SERVER_PORT` (defaults to 587)\n   \n   The SMTP server port (uses STARTTLS).\n\n* `PLUGIN_SMTP_SERVER_USERNAME`\n\n   The username for authenticating with the SMTP server.\n\n* `PLUGIN_SMTP_SERVER_PASSWORD`\n\n   The password for authenticating with the SMTP server.\n\n* `PLUGIN_EMAIL_FROM_ADDRESS`\n\n   The email address to send the notification email from.\n\n* `PLUGIN_EMAIL_TO_ADDRESS`\n\n   The email address to send the notification email to.\n\n* `PLUGIN_EMAIL_CC_ADDRESS` (optional)\n\n   A second email address to send a carbon copy of the notification email to.\n\n* `PLUGIN_EMAIL_SUBJECT`\n\n   The subject for the sent email.\n\n* `PLUGIN_EMAIL_MESSAGE_TEMPLATE`\n\n   The template for the email body should contain `{urls}` for a list of URLs\n   for the changed files.\n\n* `PLUGIN_GIT_FILE_HTTP_BASE_URL`\n\n   The http base URL for to link to files in the repo.\n\n* `PLUGIN_GIT_MAIN_REF`\n\n   The git ref (branch or tag) on which new files are added, i.e. `'master'`.\n\n* `PLUGIN_GIT_LAST_EMAIL_REF`\n\n   The git ref at which the email was last sent, the file list will be\n   generated by finding new files in the repository which were added between\n   this ref and `GIT_MAIN_REF`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperiosoftware%2Fdrone_email_new_files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faperiosoftware%2Fdrone_email_new_files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperiosoftware%2Fdrone_email_new_files/lists"}