ncihtan/data-models

Add GitHub actions to build conditional dependencies table for HTAN docs

aditigopalan opened this issue · 6 comments

  1. Add conditional dependencies file to the data model
  2. Set up a GitHub Actions workflow that triggers on a new data model release, interacts with the specified endpoint to generate an attribute table, and then opens a PR to merge the results.

Ready for review!

24-7 close out: With the PR merged, @adamjtaylor please feel free to close this out if appropriate

@aclayton555 @adamjtaylor PR #441 is still open, which is why I think this issue is ongoing into the next sprint

@adamjtaylor to review PR. Want to ensure we test actions.

Upon testing, failure due to 128. Failure in "Fetch latest changes" pulling from main. Adam thinks we can remove this step. @aditigopalan to dig into this and ping team for additional testing. Not expecting this to break anything, but want to make sure this is running okay.

Ensure any actions are updated accordingly with appropriate version numbers

Update: The action is still failing, which is surprising since the fetch operation works fine locally but fails on GitHub Actions with the following error:

Traceback (most recent call last):
File "", line 15, in
File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 405 Client Error: METHOD NOT ALLOWED for url: https://schematic.api.sagebionetworks.org/v1/ui/

I've reached out to Lingling to verify if the API endpoint and the HTTP method being used are correct.

Fixed, the issue was having two actions running simultaneously