Skip to content

Skip image build in no-change workflows #32

@rcwbr

Description

@rcwbr

What

Skip executing an image build in workflows for which the devcontainer definition is unchanged.

Why

Save time by cutting out redundant builds

How

Using changed-files to detect changes, and DEVCONTAINER_BUILD_ADDITIONAL_ARGS to configure a dry-run. Add an option to override the GIT_BRANCH read from the repo so as to set it to the PR target branch.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions