Skip to content

Commit e0e7091

Browse files
committed
Remove reference to the master branch
Plus, update references of other repositories to point to their respective `main` branch. - https://github.com/stylelint/stylelint - https://github.com/moodlehq/moodle-local_amos
1 parent a99342b commit e0e7091

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

remote_branch_checker/remote_branch_checker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ${mydir}/../git_garbage_collector/git_garbage_collector.sh
8585
# to connect to it using jenkins cli..
8686
displayname=""
8787
if [[ -n "${BUILD_TAG}" ]] && [[ ! "${issue}" = "" ]] && [[ -n "${jenkinsserver}" ]]; then
88-
if [[ "${integrateto}" = "master" ]] || [[ "${integrateto}" = "main" ]]; then
88+
if [[ "${integrateto}" = "main" ]]; then
8989
displayname="#${BUILD_NUMBER}:${issue}"
9090
else
9191
if [[ ${integrateto} =~ ^MOODLE_([0-9]*)_STABLE$ ]]; then
@@ -518,7 +518,7 @@ if [ -f $WORKSPACE/.stylelintrc ]; then
518518
then
519519
echo "Info: stylelint completed without errors."
520520
else
521-
# https://github.com/stylelint/stylelint/blob/master/docs/user-guide/cli.md#exit-codes
521+
# https://github.com/stylelint/stylelint/blob/main/docs/user-guide/cli.md#exit-codes
522522
stylelintcode=$?
523523
if [ $stylelintcode -eq 2 ]; then
524524
echo "Info: stylelint found errors in patchset."

verify_commit_messages/amoslib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function clean_param($param, $type) {
3030
}
3131

3232
/**
33-
* Parser for AMOS script, butchered from https://github.com/moodlehq/moodle-local_amos/blob/master/mlanglib.php
33+
* Parser for AMOS script, butchered from https://github.com/moodlehq/moodle-local_amos/blob/main/mlanglib.php
3434
* This is an exact copy of execute() extract_script_from_text() and legacy_component_name() from that file, see the marker
3535
* below where copy/paste of code starts. The code above is to allow us copy and paste thos functions.
3636
*/

0 commit comments

Comments
 (0)