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.
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_ARGSto configure a dry-run. Add an option to override theGIT_BRANCHread from the repo so as to set it to the PR target branch.