WARNING: this article mention codespaces configuration. The Admiral codespaces feature is still in progress, and current codespaces article is outdated for now.
Propagate .devcontainer Files Workflow
This GitHub Actions workflow is specific to the admiralci project. It
is designed to propagate changes in .devcontainer
files
(for codespaces configuration) to multiple repositories within the
project.
Inputs
Triggers
-
pull_request
: Triggered on pull requests targeting themain
branch and specific file paths. -
workflow_dispatch
: Allows manual triggering of the workflow.
Steps
- Checkout this repo: Checks out the current repository.
- Checkout specified repository: Checks out the specified repository based on the matrix configuration.
-
Update files in the specified repository: Updates
.devcontainer
files in the specified repository. - Commit and push changes: Commits the changes and pushes them to the repository.
- Create Pull Request: Creates a pull request in the specified repository, assigning reviewers.