{"repo":"int128/diff-action","free":true,"listed":false,"github":"https://github.com/int128/diff-action","clone":"git clone https://github.com/int128/diff-action.git","description":"Generate diff comment between two directories in GitHub Actions","language":"TypeScript","stars":21,"topics":["github-actions"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"diff-action This is an action to format the diff between head and base. Migration to V2 This action no longer posts a comment by itself. You can post a comment using int128/comment-action. For example, Getting Started To get the diff between old-directory and new-directory , If no difference, it returns an empty string. Show diff of generated manifests If you use kustomize build in your CI/CD pipeline, it would be useful if you can see the diff on a pull request. To build manifests with int128/kustomize-action and show diff of it: Here is an example. Label to indicate the change To add label(s) if there is difference or remove it if not: Specification Inputs Name Default Description ------- -------------- ---------------------------------------------------------- base (required) Path(s) of base (multiline) head (required) Path(s) of head (multiline) label - Label(s) to add or remove to indicate the diff (multiline) token github.token GitHub token for label operations Outputs Name Description -------------- ------------ comment-body Comment body","default_branch":null,"files":null,"tree":[],"storefront":"/r/int128","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/int128/diff-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}