From 62aa362e3a26b93fb0bb9ef79da403a2882b9853 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Thu, 9 Oct 2025 23:00:54 +0530 Subject: [PATCH 1/4] test workflow --- .github/workflows/pr-title-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-title-lint.yml b/.github/workflows/pr-title-lint.yml index a44b020..c20328f 100644 --- a/.github/workflows/pr-title-lint.yml +++ b/.github/workflows/pr-title-lint.yml @@ -2,6 +2,8 @@ name: "pr-title-lint" on: pull_request: +# test workflow + jobs: test: runs-on: ubuntu-latest From 0c18325d43a98dc815ef5a9981dad84e101128a8 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Fri, 10 Oct 2025 00:21:12 +0530 Subject: [PATCH 2/4] ci: added PR title lint workflow --- .github/workflows/pr-title-linter.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-title-linter.yml diff --git a/.github/workflows/pr-title-linter.yml b/.github/workflows/pr-title-linter.yml new file mode 100644 index 0000000..eca0e6f --- /dev/null +++ b/.github/workflows/pr-title-linter.yml @@ -0,0 +1,27 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: 'Lint PR Title' + +on: + pull_request: + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 76edd0d719f55b07b4cb76cadfc66e550632df02 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:31:58 +0530 Subject: [PATCH 3/4] Delete .github/workflows/pr-title-lint.yml --- .github/workflows/pr-title-lint.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .github/workflows/pr-title-lint.yml diff --git a/.github/workflows/pr-title-lint.yml b/.github/workflows/pr-title-lint.yml deleted file mode 100644 index c20328f..0000000 --- a/.github/workflows/pr-title-lint.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: "pr-title-lint" -on: - pull_request: - -# test workflow - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 \ No newline at end of file From a806d18b12086a18b4f83774f82b15dcd027e56d Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Thu, 9 Oct 2025 17:26:47 -0700 Subject: [PATCH 4/4] Apply suggestion from @averikitsch --- .github/workflows/pr-title-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-title-linter.yml b/.github/workflows/pr-title-linter.yml index eca0e6f..e3f3e41 100644 --- a/.github/workflows/pr-title-linter.yml +++ b/.github/workflows/pr-title-linter.yml @@ -22,6 +22,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v5 + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file