File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,6 @@ protected function configure(): void
6262 $ extra = getenv ('EXTRA_PLUGINS_DIR ' ) !== false ? getenv ('EXTRA_PLUGINS_DIR ' ) : null ;
6363 $ node = getenv ('NODE_VERSION ' ) !== false ? getenv ('NODE_VERSION ' ) : null ;
6464
65- // Emit a warning/annotation under GHA if the branch is master (recommending to move to main).
66- // @codeCoverageIgnoreStart
67- if (getenv ('GITHUB_ACTIONS ' )) { // Only show annotations in GitHub Actions.
68- if ($ branch === 'master ' ) { // And only if the branch being used is master.
69- echo '::warning title=`master` branch use detected::The `master` branch of Moodle has been ' .
70- 'moved to `main` and will stop working soon. Please consider moving to `main` in your ' .
71- 'workflows. Ref.: MDLSITE-7418 ' . PHP_EOL ;
72- }
73- }
74- // @codeCoverageIgnoreEnd
75-
7665 // As there is not only Travis CI, it can also be passed a generic environment variable.
7766 if (null === $ plugin ) {
7867 $ plugin = getenv ('CI_BUILD_DIR ' ) !== false ? getenv ('CI_BUILD_DIR ' ) : null ;
You can’t perform that action at this time.
0 commit comments