-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make alkiln action work on pull requests #760
Comments
From a conversation with @BryceStevenWilley
|
This is a blocker because we need to decide whether we're using With On the other hand, with
What do we do about takedown? |
Quick thoughts on takedown: docassemblecli / dainstall doesn't have any equivalent for takedown, so we can't use that.
TL;DL: we just leave takedown as is, should be fine |
Still, we'd be able to output the name of the Project from |
@plocket That's not the case. I did a PR for |
|
It sounds like we've landed on using |
This isn't a blocker, but jhpyle/docassemblecli#10 will help with local development when using the new script - dainstall needs to be able to ignore more of our files so that the codebase won't be too big to install on the playground. It does this by using the |
* Use `dainstall` to install the package on the playground * Add more error info to the setup error msg. Where's the piped data? * Fix typo * Echo to check if dainstall is there * Install our _own_ script to install docassemblecli * Split unit tests out, Use our own action, close #822 maybe Hope to avoid npm installing our whole repo and thus being too large to install on the playground * Ensure unit tests can run completely indepenent (including env) by moving moving validation out of its own script which, before this, would run on access to the session vars script as it was imported into the script before any tests ran. * Clean up tests. A few risky cleanups, like moving `@checkout` * Restore checkout in workflows for relative refs to action.yml files * Correct typos * Trigger on pull request to test properly * Update changelog * Add to changelog * Clean up lots of now unused functions I worked so hard on those... * Only install python if using docassemblecli * Clarify comments
For Future People: If we want to get rid of - uses: actions/checkout@v2
with:
path: 'ActualRepoName' This might still not be sufficient. We think PRs give a merged version of the PR branch (when there are no conflicts) and this method wouldn't test that. I personally haven't researched whether that's true. |
Pull requests'
.ref
property is something likerefs/pull/50/merge
. What we need is the branch that made the pull request. Not just that, when the PR is made from a fork we need the originating branch somehow.That latter point might make it necessary to change da core so it can pull in PRs, I'm not sure. That would be something like
git fetch origin pull/50/head:a_branch_name
. https://stackoverflow.com/a/30584951/14144258.Similar to #757.
The text was updated successfully, but these errors were encountered: