Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Execute against master #556

Closed
2 tasks done
wangwalton opened this issue Jul 24, 2022 · 3 comments
Closed
2 tasks done

[Feature] Execute against master #556

wangwalton opened this issue Jul 24, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@wangwalton
Copy link

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

Looking to execute the diff against master changes, note that master may have changes that my branch doesn't have.

essentially looking for a way to do this, don't think it's possible, but please correct me if I'm wrong.

git diff --name-only master...HEAD

Describe the solution you'd like?

Perhaps another input flag

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@wangwalton wangwalton added the enhancement New feature or request label Jul 24, 2022
@github-actions
Copy link
Contributor

Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience.

@jackton1
Copy link
Member

@wangwalton By adding the actions/checkout the master branch is already merged into your pull request branch. This action would return a diff of the last commit on master and your branch.

See: https://github.com/tj-actions/changed-files#usage

NOTE: You’ll want to use a pull request event trigger

@jackton1 jackton1 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2022
@wangwalton
Copy link
Author

Would this work on the push event? Ideally I can have this feature before I make a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants