Skip to content

Commit

Permalink
chore: add release-please block to lint-pr-title (#602)
Browse files Browse the repository at this point in the history
Add release-please block to README
  • Loading branch information
dsotirakis authored Dec 2, 2024
1 parent 1db8751 commit 14d9a80
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions actions/lint-pr-title/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!-- x-release-please-start-version -->

```yml
name: Lint PR title
Expand All @@ -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
Expand All @@ -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
```

<!-- x-release-please-end-version -->

0 comments on commit 14d9a80

Please sign in to comment.