A GitHub Action for gathering the git diff of a pull request in raw or JSON format
MIT License
Bot releases are hidden (Show)
This release adds a minor change to how we pass the "search path" into the git binary when issuing commands. --
is used to separate the rest of the command from the search file path in order to prevent errors from being raised in the event that a user provides a search path that starts with a hyphen (-
) and other edge cases.
--
to separate search path by @icco in https://github.com/GrantBirki/git-diff-action/pull/32
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.6.1...v2.7.0
Published by GrantBirki 7 months ago
This release mainly just updates internal node dependencies used by this Action
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.6.0...v2.6.1
Published by GrantBirki 7 months ago
This release updates internal node dependencies used by this Action, adds 100% test coverage, and updates the Actions output to look a bit better.
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.5.0...v2.6.0
Published by GrantBirki 7 months ago
Added git_options
and git_diff_file
as new input options for the action
git_options
will allow you to pass specific CLI flags to the git
binary when running git diff
git_diff_file
will allow you to bypass generating a git diff in the Action and instead you can provide a file path to a git diff that you already generated to use insteadFull Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.4.1...v2.5.0
Published by GrantBirki 8 months ago
Internal node dependency updates and CI version updates
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.4.0...v2.4.1
Published by GrantBirki 10 months ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.3.0...v2.4.0
Published by GrantBirki 11 months ago
max_buffer_size
by @GrantBirki in https://github.com/GrantBirki/git-diff-action/pull/22
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.2.0...v2.3.0
Published by GrantBirki 11 months ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.1.1...v2.2.0
Published by GrantBirki about 1 year ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.1.0...v2.1.1
Published by GrantBirki over 1 year ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.0.1...v2.1.0
Published by GrantBirki over 1 year ago
Node package updates
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.0.0...v2.0.1
Published by GrantBirki over 1 year ago
⚠️ This release contains a possible breaking change due to the new default value for base_branch
This release changes the default value of base_branch
from ${{ github.event.pull_request.base.sha }}
to HEAD^1
.
The base_branch
input is now HEAD^1
by default. This means that the "base" or "target" branch for the git diff will be the branch that the pull request is targeting. For most use cases, it's best to compare the pull request merge commit against its first parent, which will only show changes that the pull request itself introduces.
This option can be changed to any valid git ref, such as a branch name, tag name, or commit hash.
Another common option that can be used in the context of GitHub Actions is ${{ github.event.pull_request.base.sha }}
(which is what was used before)
Special thanks to @chrisgavin for this suggestion! 🎉
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.3...v2.0.0
Published by GrantBirki over 1 year ago
npm update
vercel/ncc
to the latest versionFull Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.2...v1.1.3
Published by GrantBirki over 1 year ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.1...v1.1.2
Published by GrantBirki almost 2 years ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.0...v1.1.1
Published by GrantBirki about 2 years ago
Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.0.0...v1.1.0
Published by GrantBirki about 2 years ago
Initial stable release
Full Changelog: https://github.com/GrantBirki/git-diff/compare/v0.1.1...v1.0.0
Published by GrantBirki about 2 years ago
Initial marketplace release
Published by GrantBirki about 2 years ago
Initial release
Full Changelog: https://github.com/GrantBirki/pr-diff/commits/v0.1.0