We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 466b8ed + 07ee141 commit ba8fad5Copy full SHA for ba8fad5
ci/checks/changelog.sh
@@ -4,8 +4,8 @@
4
# RMM CHANGELOG Tester #
5
#########################
6
7
-# Checkout master for comparison
8
-git checkout --quiet master
+# Checkout main for comparison
+git checkout --quiet main
9
10
# Switch back to tip of PR branch
11
git checkout --quiet current-pr-branch
@@ -14,7 +14,7 @@ git checkout --quiet current-pr-branch
14
set +e
15
16
# Get list of modified files between matster and PR branch
17
-CHANGELOG=`git diff --name-only master...current-pr-branch | grep CHANGELOG.md`
+CHANGELOG=`git diff --name-only main...current-pr-branch | grep CHANGELOG.md`
18
# Check if CHANGELOG has PR ID
19
PRNUM=`cat CHANGELOG.md | grep "$PR_ID"`
20
RETVAL=0
0 commit comments