Skip to content

Add bemanproject/infra-workflows as beman-submodule#216

Merged
ednolan merged 1 commit intomainfrom
enolan_workflowmodule1
Jul 7, 2025
Merged

Add bemanproject/infra-workflows as beman-submodule#216
ednolan merged 1 commit intomainfrom
enolan_workflowmodule1

Conversation

@ednolan
Copy link
Copy Markdown
Member

@ednolan ednolan commented Jul 6, 2025

This new beman-submodule repository allows us to reuse GitHub Actions workflows between multiple beman projects while maintaining a single source of truth to prevent them from getting out of sync.

Ideally, these would live inside the infra/ repository and be symlinked into the .github directory, but GitHub Actions does not follow symlinks, necessitating a separate repository.

Comment thread .github/workflows/.beman_submodule Outdated
@ednolan ednolan force-pushed the enolan_workflowmodule1 branch from 0aa7814 to 3aafd0b Compare July 7, 2025 15:05
Since infra commit 1ed1ad5d8c02db1b4d1c93a60b9f87682be080f4, beman
submodules can occupy a subdirectory along with other files.

This allows us to include the files from the
bemanproject/infra-workflows repository as a beman-submodule inside
the .github/workflows directory.

This approach is needed because of limitations of GitHub Actions. We
can't symlink the reusable workflow files into the existing infra
beman submodule because GitHub Actions won't follow symlinks, and we
can't create a subdirectory for infra-workflows inside
.github/workflows because GitHub Actions forbids putting workflow
files inside subdirectories.
@ednolan ednolan force-pushed the enolan_workflowmodule1 branch from 3aafd0b to b42e1d0 Compare July 7, 2025 15:11
@ednolan ednolan merged commit 4a769b4 into main Jul 7, 2025
84 checks passed
@ednolan ednolan deleted the enolan_workflowmodule1 branch July 7, 2025 15:19
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.

1 participant