{"id":19621095,"url":"https://github.com/baked-libs/maven-discord-integration","last_synced_at":"2026-03-10T23:03:32.403Z","repository":{"id":39002812,"uuid":"263615930","full_name":"baked-libs/maven-discord-integration","owner":"baked-libs","description":"This GitHub Action can produce fancy and more meaningful discord messages for your commits. It includes Test results and coverage.","archived":false,"fork":false,"pushed_at":"2025-09-25T14:02:32.000Z","size":1323,"stargazers_count":29,"open_issues_count":9,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T16:08:56.411Z","etag":null,"topics":["action","code","coverage","discord","discord-webhook","github","jacoco","junit","maven","quality","test","testing","unit","webhook","workflow"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baked-libs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-13T11:55:49.000Z","updated_at":"2025-02-20T15:32:17.000Z","dependencies_parsed_at":"2024-01-13T04:12:03.168Z","dependency_job_id":"3b687bf0-4735-4bd2-b41b-27ee2c1e698e","html_url":"https://github.com/baked-libs/maven-discord-integration","commit_stats":{"total_commits":44,"total_committers":5,"mean_commits":8.8,"dds":0.5909090909090908,"last_synced_commit":"ab00ee51f3996fb0a668294bbe3652402bf253a4"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/baked-libs/maven-discord-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baked-libs%2Fmaven-discord-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baked-libs%2Fmaven-discord-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baked-libs%2Fmaven-discord-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baked-libs%2Fmaven-discord-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baked-libs","download_url":"https://codeload.github.com/baked-libs/maven-discord-integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baked-libs%2Fmaven-discord-integration/sbom","scorecard":{"id":224110,"data":{"date":"2025-08-11","repo":{"name":"github.com/baked-libs/maven-discord-integration","commit":"ab00ee51f3996fb0a668294bbe3652402bf253a4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-7r3h-m5j6-3q42","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 16 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T03:16:30.436Z","repository_id":39002812,"created_at":"2025-08-17T03:16:30.436Z","updated_at":"2025-08-17T03:16:30.436Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013634,"owners_count":26085298,"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-12T02:00:06.719Z","response_time":53,"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":["action","code","coverage","discord","discord-webhook","github","jacoco","junit","maven","quality","test","testing","unit","webhook","workflow"],"created_at":"2024-11-11T11:21:22.949Z","updated_at":"2025-10-13T00:23:54.473Z","avatar_url":"https://github.com/baked-libs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fancier Discord Webhook\nThis GitHub Action can produce fancy and more meaningful discord messages for your commits.\n\u003cbr\u003eIt includes Test results and coverage.\n\n## :notebook: Requirements\nThis currently works only for Maven projects.\nFor Test Results and Coverage Reports you will need to use one of the following Maven plugins:\n* `maven-surefire`\n* `maven-failsafe`\n* `jacoco`\n\n## :mailbox_with_no_mail: Inputs\n\n### `id`\n**Required** This is the id of your Discord webhook, if you copy the webhook url, this will be the first part of it.\n\n### `token`\n**Required** Now your Discord webhook token, it's the second part of the url.\n\n## :framed_picture: Screenshots\nThe standard webhook from GitHub to Discord just dumps the commit messages right into your chat, this is fine but sometimes you just want some extra information. Did the commit introduce any new issues? Did it even compile successfully? That's what this Action is for.\u003cbr\u003e\n\n### :spider_web: Standard Webhook\n![old webhook](https://raw.githubusercontent.com/baked-libs/discord-webhook/master/assets/old-webhook.png)\n\n### :star: New and improved Webhook\n![tests passed](https://raw.githubusercontent.com/baked-libs/discord-webhook/master/assets/tests-passed.png)\n![tests skipped](https://raw.githubusercontent.com/baked-libs/discord-webhook/master/assets/tests-skipped.png)\n![tests failed](https://raw.githubusercontent.com/baked-libs/discord-webhook/master/assets/tests-failed.png)\n\n### :books: Changes\n* Removed the obnoxious author name and image at the top (may be a toggle in the future)\n* The branch is now clearly visible \"Slimefun4:master\" -\u003e \"Slimefun4 (master)\"\n* The repository is now referred to by its full name, including the repository owner\n* The embed now includes a timestamp (it is actually the timestamp of the commit, not just the current date of when the webhook was sent)\n* Commit messages have slightly shorter limits and the committer is now better distinguishable from the commit message \"Reduced technical debt - TheBusyBiscuit\" -\u003e \"Reduced technical debt (@TheBusyBiscuit)\"\n* Includes test results, passes will be prepended with a green circle, skips with yellow and failures with red.\n* It will also list the exact tests which failed (max of 4, then it will crop them)\n* An estimated test coverage is provided if you use the `jacoco` maven plugin.\n* Dynamic embed color changes\n\n#### :art: Dynamic Coloring\nThe color of the embed changes depending on the compiler and test results. Here's a breakdown:\n\n| Color | Description |\n| ----- | ----------- |\n| red | The build has failed. |\n| orange | The build was successful but some tests failed. |\n| yellow | The build was successful, no tests failed but some were skipped. |\n| green | The build was successful, no tests failed and none were skipped. |\n\n## :scroll: Example setup\nTo set up this Action, create a new workflow file under `.github/workflows/workflow_name.yml`.\n\n**Important:** Your project must have a `pom.xml` file, this Action only supports Maven at the moment.\u003cbr\u003e\nTo report Unit Tests and coverage, you will need `maven-surefire` / `maven-failsafe` and/or `jacoco`.\n\nThis workflow is rather simple, it checks out your repository, sets up Java and the webhook will then run `mvn test` and report the results to your discord webhook.\nYou should configure the webhook id in advance.\n\n```yaml\nname: Discord Webhook\n\non: [push]\n\njobs:\n  report-status:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2.3.4\n    - name: Set up Java JDK 11\n      uses: actions/setup-java@v2.1.0\n      with:\n        distribution: 'adopt'\n        java-version: '11'\n        java-package: jdk\n        architecture: x64\n    - name: Run Discord Webhook\n      uses: baked-libs/discord-webhook@main\n      with:\n        id: ${{ secrets.YOUR_DISCORD_WEBHOOK_ID }}\n        token: ${{ secrets.YOUR_DISCORD_WEBHOOK_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaked-libs%2Fmaven-discord-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaked-libs%2Fmaven-discord-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaked-libs%2Fmaven-discord-integration/lists"}