Open gamegee opened 2 years ago
Hi @gamegee, if you open a pull request the action should automatically infer the Git boundaries, taking the base
as the branch your PR is opened against. So if your PR targets the master
branch, this action will use the latest commit of the master
branch as base
.
Nx has progressed a lot since the last release of the action. Would you be able to test with the latest v3
release of the action just to confirm the issue is still present? Hopefully it will not!
Although I really love the simplicity of not having to specify any base on Pull requests, I would love to also use this action on my deployments using semver. As semver uses tags to mark where the last release happened in each environment, I can't make this action play nice with it. I believe #314 is just what I need to make my use case possible.
Feature Request
My current flow for running the CI is the following :
master
I am wondering how I can run
affected
running a comparison between the last commit of master--base=master
and the last commit of the current branch.Here is an example of my
.github-action
configuration:Is your feature request related to a problem? Please describe.
When running the CI I have the following error :
Describe the solution you'd like
I am not sure if I should be able to fix my issue, I want to be able to define my base being
master
. Did I miss something ornrwl-nx-action
should provide an API to resolve my issue ?Teachability, Documentation, Adoption, Migration Strategy
-