{"repo":"GrantBirki/git-diff-action","free":true,"listed":false,"github":"https://github.com/GrantBirki/git-diff-action","clone":"git clone https://github.com/GrantBirki/git-diff-action.git","description":"A GitHub Action for gathering the git diff of a pull request in raw or JSON format","language":"JavaScript","stars":22,"topics":["actions","automation","git-diff","json"],"license":"MIT","category":"workflow-automation","readme_excerpt":"git-diff-action 📃 A GitHub Action for gathering the git diff of a pull request in JSON format or standard git diff format About 💡 A useful Action for grabbing the git diff output of a pull request in a machine readable JSON format. This Action can be used in conjunction with other Actions or tools to perform tasks such as: - Auditing the changes made in a pull request - Running subsequent workflows conditionally based on the files, lines, or directories changed in a pull request - Send out a signal to reviewers when certain files or even specific lines are changed in a pull request Turbo Quickstart ⚡ Checkout the example below to see how you can use this Action in your workflow to get the git diff of changes made in the context of a pull request All references to vX.X.X are places holders and you can find the latest version of this Action under the Releases section View the section below to see a more detailed example Example 📚 This is a full workflow example with detailed comments for how you can use this Action JSON Diff Output 📝 Expand the section below to see an example of the JSON diff output JSON Example Click here to see an even more detailed example of the JSON diff output Inputs 📥 Input Required? Default Description ----- --------- ------- ----------- base branch yes HEAD^1 The \"base\" or \"target\" branch to use for the git diff json diff file output no - Optionally write the JSON diff output to a file. This is a string to the file path you wish to write to. highl","default_branch":null,"files":null,"tree":[],"storefront":"/r/GrantBirki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GrantBirki/git-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."}