diff --git a/actions/lint-pr-title/README.md b/actions/lint-pr-title/README.md index d0ebf841f..2f0a8607a 100644 --- a/actions/lint-pr-title/README.md +++ b/actions/lint-pr-title/README.md @@ -69,6 +69,8 @@ the [`commitlint.config.js` file located in this directory][config]. In this example the `commitlint.config.js` file is located in the root directory of the project which is being linted. + + ```yml name: Lint PR title @@ -84,7 +86,7 @@ jobs: - uses: actions/checkout@v3 - id: lint-pr-title - uses: grafana/shared-workflows/actions/lint-pr-title@main + uses: grafana/shared-workflows/actions/lint-pr-title@lint-pr-title-v1.1.0 with: config-path: "${{ github.workspace }}/commitlint.config.js" title-only: false @@ -103,5 +105,7 @@ jobs: runs-on: ubuntu-latest steps: - id: lint-pr-title - uses: grafana/shared-workflows/actions/lint-pr-title@main + uses: grafana/shared-workflows/actions/lint-pr-title@lint-pr-title-v1.1.0 ``` + +