{"id":23159066,"url":"https://github.com/classfunc/what-changes","last_synced_at":"2025-04-04T18:41:56.034Z","repository":{"id":198016194,"uuid":"699954528","full_name":"ClassFunc/what-changes","owner":"ClassFunc","description":"Report what changes within branches","archived":false,"fork":false,"pushed_at":"2024-02-26T14:21:33.000Z","size":1221,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T03:47:35.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ClassFunc.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-03T16:58:10.000Z","updated_at":"2023-10-05T09:03:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e6add5f-58a2-4325-a75c-8201a6ee9730","html_url":"https://github.com/ClassFunc/what-changes","commit_stats":null,"previous_names":["classfunc/what-changes"],"tags_count":9,"template":false,"template_full_name":"actions/javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClassFunc%2Fwhat-changes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClassFunc%2Fwhat-changes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClassFunc%2Fwhat-changes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClassFunc%2Fwhat-changes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClassFunc","download_url":"https://codeload.github.com/ClassFunc/what-changes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234844,"owners_count":20905852,"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-12-17T22:28:53.763Z","updated_at":"2025-04-04T18:41:56.001Z","avatar_url":"https://github.com/ClassFunc.png","language":"JavaScript","readme":"# what-changes actions\n\nThis action checks for changes between branches (PR), based on Merge Pull Request commit, and returns formatted output\n\n# Usage\n\nSee [action.yml](action.yml)\n\n### Example: Query changes between branches \u0026 post as comment\n\n```yaml\non:\n  pull_request:\n    branches:\n      - \"releases/*\" # or whatever ex: `main`\njobs:\n  comment-pr-changes:\n    name: Comment PR changes\n    runs-on: ubuntu-latest\n    steps:\n      - uses: ClassFunc/what-changes@v3.2\n        name: Get changes\n        id: 'changes-table'\n        with:\n          output-type: 'md' # or 'html' or 'rows','json', default: 'md'\n\n      - uses: mshick/add-pr-comment@v2\n        name: Add PR comment\n        with:\n          message-id: 'whatchanges'\n          message: |\n            ${{ steps.changes-table.outputs.summary }}\n            Total: ${{ steps.changes-table.outputs.total }}\n            ${{ steps.changes-table.outputs.numOfMerged }} Merged\n            ${{ steps.changes-table.outputs.numOfHotfix }} Hotfix\n            ${{ steps.changes-table.outputs.value }}\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Change Log\n\nv3.2:\n\n- Add `summary` output for short summary of changes\n\nv3.1:\n\n- Add `@` before logins for mention PR closed by authors\n\nv3.0:\n\n- Add 3 outputs: `total`, `numOfMerged`, `numOfHotfix`\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassfunc%2Fwhat-changes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclassfunc%2Fwhat-changes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassfunc%2Fwhat-changes/lists"}