Set CI Tests workflow to run under pr-tests github environment#4148
Set CI Tests workflow to run under pr-tests github environment#4148
Conversation
Enable forked repositories to access DagsHub token, xref https://2i2c.org/blog/2025/github-action-secrets-forked-repositories/
|
Wow, these github environment deployments are super noisy (9 messages for 9 matrix builds?!!), seems like a known issue at https://github.com/orgs/community/discussions/14417. Also not 100% sure if it works yet, need to test on a PR from a fork. |
|
Yes, super noisy, do you want to approve this PR so that you can test from a fork? |
|
Actually I'm wondering if we could create a resuable workflow (xref: https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows) that runs the |
Yeah, I think so. Can test it in #4135 perhaps. I did think about using the cache action, but that seemed like more work, but probably better as a longer term solution? |
Description of proposed changes
Enable forked repositories to access DagsHub token, by granting them access within a GitHub environment
Done using the following steps:
pr-testsReference:
Fixes #4147
Preview:
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code