File tree 1 file changed +0
-11
lines changed
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
62
62
$ extra = getenv ('EXTRA_PLUGINS_DIR ' ) !== false ? getenv ('EXTRA_PLUGINS_DIR ' ) : null ;
63
63
$ node = getenv ('NODE_VERSION ' ) !== false ? getenv ('NODE_VERSION ' ) : null ;
64
64
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
-
76
65
// As there is not only Travis CI, it can also be passed a generic environment variable.
77
66
if (null === $ plugin ) {
78
67
$ plugin = getenv ('CI_BUILD_DIR ' ) !== false ? getenv ('CI_BUILD_DIR ' ) : null ;
You can’t perform that action at this time.
0 commit comments