Skip to content

Conversation

@aidanfnv
Copy link
Contributor

@aidanfnv aidanfnv commented May 2, 2025

For #74

This change adds a workflow that will automatically update the submodules and push their changes to this repo, so that readthedocs will be building with the latest docs from slang, slangpy, and the stdlib-reference.

@aidanfnv aidanfnv changed the title Add GitHub actions for syncing submodules for readthedocs Add GitHub action for syncing submodules for readthedocs May 2, 2025
@aidanfnv aidanfnv requested a review from kaizhangNV May 2, 2025 05:30
Copy link
Contributor

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

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

Looks good to me.

if: steps.check_changes.outputs.changes == 'true'
run: |
git add -A
git commit -m "Auto-update submodules"
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can somehow wire up LLM to summarize the changes later...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That seems like an interesting idea. An alternative would be to list the new commits that the submodules got, but a more concise summary may be more useful.

@aidanfnv aidanfnv merged commit 388a8d8 into shader-slang:main May 2, 2025
@aidanfnv aidanfnv deleted the fix/readthedocs-submodules-sync branch May 10, 2025 00:57
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.

2 participants