From 3536c7b06c44ac22212b0316fe2c015de7c448b6 Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Mon, 29 Jul 2024 14:54:37 +0200 Subject: [PATCH] ci: lint PR titles --- .github/workflows/lint-pr-title.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/lint-pr-title.yml diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml new file mode 100644 index 0000000..885964c --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,20 @@ +name: Lint PR title + +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + branches: + - main + +jobs: + lint-pr-title: + runs-on: ubuntu-latest + steps: + - uses: grafana/shared-workflows/actions/lint-pr-title@main + env: + GITHUB_TOKEN: ${{ github.token }} +