Message ID | 20231023154356.1145934-4-richard.purdie@linuxfoundation.org |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper,1/5] scripts/run-patchmetrics: Only clone metrics if it isn't present | expand |
diff --git a/scripts/run-patchmetrics b/scripts/run-patchmetrics index 20e6268..391ac45 100755 --- a/scripts/run-patchmetrics +++ b/scripts/run-patchmetrics @@ -11,6 +11,11 @@ OURDIR=`dirname $0` TIMESTAMP=`date +"%s"` +# We only monitor patch metrics on the master branch +if [ "$BRANCH" != "master" ]; then + exit 0 +fi + # # Patch Metrics #
We only monitor the master branch for patch metrics as we can't really make improvements to release branches. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- scripts/run-patchmetrics | 5 +++++ 1 file changed, 5 insertions(+)