git-diff-action

A GitHub Action for gathering the git diff of a pull request in raw or JSON format

MIT License

Stars
14
Committers
1

Bot releases are visible (Hide)

git-diff-action - v2.7.0 Latest Release

Published by GrantBirki 6 months ago

What's Changed

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.

New Contributors

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.6.1...v2.7.0

git-diff-action - v2.6.1

Published by GrantBirki 7 months ago

What's Changed

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

git-diff-action - v2.6.0

Published by GrantBirki 7 months ago

What's Changed

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

git-diff-action - v2.5.0

Published by GrantBirki 7 months ago

What's Changed

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 instead

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.4.1...v2.5.0

git-diff-action - v2.4.1

Published by GrantBirki 8 months ago

What's Changed

Internal node dependency updates and CI version updates

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.4.0...v2.4.1

git-diff-action - v2.4.0

Published by GrantBirki 10 months ago

git-diff-action - v2.3.0

Published by GrantBirki 11 months ago

git-diff-action - v2.2.0

Published by GrantBirki 11 months ago

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.1.1...v2.2.0

git-diff-action - v2.1.1

Published by GrantBirki about 1 year ago

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.1.0...v2.1.1

git-diff-action - v2.1.0

Published by GrantBirki over 1 year ago

v2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.0.1...v2.1.0

git-diff-action - v2.0.1

Published by GrantBirki over 1 year ago

v2.0.1

Node package updates

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v2.0.0...v2.0.1

git-diff-action - v2.0.0

Published by GrantBirki over 1 year ago

v2.0.0

⚠️ 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)

What's Changed

Special thanks to @chrisgavin for this suggestion! 🎉

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.3...v2.0.0

git-diff-action - v1.1.3

Published by GrantBirki over 1 year ago

v1.1.3

  • Updates Actions workflows
  • Updates all node packages with npm update
  • Adds CI workflows for light testing
  • Bumps vercel/ncc to the latest version
  • Formatting

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.2...v1.1.3

git-diff-action - v1.1.2

Published by GrantBirki over 1 year ago

v1.1.2

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.1.1...v1.1.2

git-diff-action - v1.1.1

Published by GrantBirki almost 2 years ago

git-diff-action - v1.1.0

Published by GrantBirki about 2 years ago

v1.1.0

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff-action/compare/v1.0.0...v1.1.0

git-diff-action - v1.0.0

Published by GrantBirki about 2 years ago

v1.0.0

Initial stable release

What's Changed

Full Changelog: https://github.com/GrantBirki/git-diff/compare/v0.1.1...v1.0.0

git-diff-action - v0.1.1

Published by GrantBirki about 2 years ago

v0.1.1

Initial marketplace release

git-diff-action - v0.1.0

Published by GrantBirki about 2 years ago

v0.1.0

Initial release

New Contributors

Full Changelog: https://github.com/GrantBirki/pr-diff/commits/v0.1.0

Package Rankings
Top 11.14% on Github actions
Badges
Extracted from project README
test lint CodeQL package-check sample-workflow acceptance coverage