From f9222d8d7735fc23a6b3e1b586a1e557b9c9573b Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sat, 17 Oct 2020 19:44:13 +0200 Subject: [PATCH] - adjust README to reflect the no longer used default configuration lookup --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a27cdcb..92df9de 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,20 @@ ${{steps.build_changelog.outputs.changelog}} ### Changelog Configuration -By default the action will look for a file called `configuration.json` within the root of the repository to load the config from. If this file does not exist, defaults are used. +The action supports flexible configuration options to modify vast areas of its behavior. To do so, provide the configuration file to the workflow using the `configuration` setting. +```yml +- name: "Build Changelog" + uses: mikepenz/release-changelog-builder-action@{latest-release} + with: + configuration: "configuration.json" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` + +This configuration is a `.json` file in the following format. + +```json { "categories": [ {