make the config file configurable
diff --git a/README.md b/README.md
index e865466..61dd4a0 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,8 @@
   # with:
       # Optional: set the log level. The default value is `info`.
       # log: debug
+      # Optional: set the config file. The default value is `.licenserc.yaml`.
+      # config: .licenserc.yaml
 ```
 
 Add a `.licenserc.yaml` in the root of your project, for Apache Software Foundation projects, the following configuration should be enough.
diff --git a/action.yml b/action.yml
index 76703fc..2f9efea 100644
--- a/action.yml
+++ b/action.yml
@@ -25,11 +25,17 @@
     description: The level of log, for example, "debug" or "info"
     required: false
     default: info
+  config:
+    description: The configuration file, for example, ".licenserc.yaml"
+    required: false
+    default: .licenserc.yaml
 runs:
   using: docker
   image: Dockerfile
   args:
     - -v
     - ${{ inputs.log }}
+    - -c
+    - ${{ inputs.config }}
     - header
     - check