Skip to content

feat: create-pull-request - support git submodules - #160

Merged
Celdir merged 1 commit into
mainfrom
dmearl/create-pr-submodules
Jul 31, 2026
Merged

feat: create-pull-request - support git submodules#160
Celdir merged 1 commit into
mainfrom
dmearl/create-pr-submodules

Conversation

@Celdir

@Celdir Celdir commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Currently this action fails to create pull requests updating git submodule versions because it attempts to use fs.readFile on the submodule's directory. Instead, this PR changes the logic to detect whether a path is a directory, and if so check if it is a git submodule, read the version SHA, and push a submodule commit object onto the git tree.

@Celdir
Celdir requested review from ianguerin and pdewilde July 31, 2026 08:12
@Celdir
Celdir requested a review from a team as a code owner July 31, 2026 08:12
Comment thread .github/actions/create-pull-request/action.yml
@Celdir
Celdir merged commit e225d1c into main Jul 31, 2026
23 of 24 checks passed
@Celdir
Celdir deleted the dmearl/create-pr-submodules branch July 31, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants