diff --git a/README.md b/README.md index 5214cae..3918399 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,14 @@ The default value (`0.0.1`) prevents a `0.0.0` from being created. This can also For example, if the version `0.1.0` would already have been published, set the `minVersion` to the next patch to prevent a duplicate tag for that version. +```yaml +- uses: butlerlogic/action-autotag@1.0.0 + with: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + minVersion: "0.1.1" +``` +### Dry Run If this value is true, the tag will not be pushed. You can check for duplicate versions when creating a pull request. @@ -241,9 +248,10 @@ You can check for duplicate versions when creating a pull request. - uses: butlerlogic/action-autotag@1.0.0 with: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - minVersion: "0.1.1" + dryRun: true ``` + ## Developer Notes If you are building an action that runs after this one, be aware this action produces several [outputs](https://help.github.com/en/articles/metadata-syntax-for-github-actions#outputs):