Skip to content

Commit

Permalink
Default to running against sass-spec's main branch (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jun 29, 2021
1 parent a10d7c6 commit abcad66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/github-action/sass-spec-ref.sh
Expand Up @@ -6,7 +6,7 @@
# Echoes the sass-spec Git ref that should be checked out for the current GitHub
# Actions run. If we're running specs for a pull request which refers to a
# sass-spec pull request, we'll run against the latter rather than sass-spec
# master.
# main.

if [ -z "$PR_BRANCH" ]; then
# Remove the "refs/heads/" prefix
Expand All @@ -18,7 +18,7 @@ fi
if [[ "$current_branch" == feature.* ]]; then
default="$current_branch"
else
default=master
default=main
fi

# We don't have a PR_BRANCH so we are not in a pull request
Expand Down

0 comments on commit abcad66

Please sign in to comment.