diff --git a/README.md b/README.md
index 82d3494..36269da 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
 
     # The branch, tag or SHA to checkout. When checking out the repository that
     # triggered a workflow, this defaults to the reference or SHA for that event.
-    # Otherwise, defaults to `master`.
+    # Otherwise, defaults to the default branch of the repository.
     ref: ''
 
     # Auth token used to fetch the repository. The token is stored in the local git
diff --git a/action.yml b/action.yml
index 9650409..b4c1765 100644
--- a/action.yml
+++ b/action.yml
@@ -8,7 +8,7 @@ inputs:
     description: >
       The branch, tag or SHA to checkout. When checking out the repository that
       triggered a workflow, this defaults to the reference or SHA for that
-      event.  Otherwise, defaults to `master`.
+      event.  Otherwise, defaults to the default branch of the repository.
   token:
     description: >
       Auth token used to fetch the repository. The token is stored in the local