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

autobuild: add working-directory input #1024

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

cklin
Copy link
Contributor

@cklin cklin commented Apr 7, 2022

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@cklin cklin force-pushed the autobuild-working-dir branch 2 times, most recently from 7be1601 to fff62ed Compare April 7, 2022 16:58
@cklin cklin marked this pull request as ready for review April 7, 2022 17:27
@cklin cklin requested a review from a team as a code owner April 7, 2022 17:27
@cklin
Copy link
Contributor Author

cklin commented Apr 7, 2022

@igfoo Do you have any thoughts on how we should test this functionality?

src/autobuild-action.ts Outdated Show resolved Hide resolved
@cklin cklin force-pushed the autobuild-working-dir branch from fff62ed to ee9fd38 Compare April 7, 2022 22:31
@cklin cklin requested a review from aeisenberg April 7, 2022 22:32
@aeisenberg
Copy link
Contributor

Looks like a spurious failure.

@aeisenberg
Copy link
Contributor

Best way to test this would be to generate a small test project that uses the autobuild action. Create a workflow that runs codeql on that project and make sure to specify a working directory input. Perhaps something similar to the checkout_path tests.

@igfoo
Copy link
Contributor

igfoo commented Apr 8, 2022

I've given it a try, and it looks like it works for me; thanks!

@cklin cklin force-pushed the autobuild-working-dir branch from ee9fd38 to e9c9bf8 Compare April 8, 2022 20:38
@cklin cklin closed this Apr 8, 2022
@cklin cklin reopened this Apr 8, 2022
@cklin cklin force-pushed the autobuild-working-dir branch 2 times, most recently from 384abcf to dd84f73 Compare April 8, 2022 21:03
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@cklin cklin force-pushed the autobuild-working-dir branch 3 times, most recently from 9541eae to f6834f6 Compare April 8, 2022 22:14
@cklin cklin force-pushed the autobuild-working-dir branch from f6834f6 to 6f17408 Compare April 8, 2022 22:18
@cklin
Copy link
Contributor Author

cklin commented Apr 8, 2022

Finally got PR Check - Autobuild working directory to work:

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

Successfully merging this pull request may close these issues.

3 participants