From ec406db1b37207f5c6d24a7052d4dd4643eb9d38 Mon Sep 17 00:00:00 2001 From: Philipp Wallrafen <74021231+philippwallrafen@users.noreply.github.com> Date: Tue, 6 Oct 2026 02:33:15 +0200 Subject: [PATCH 1/3] chore: normalize PR title workflow identifiers --- .github/workflows/pr-title.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pr-title.yml diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 0000000..ecb4ebb --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,20 @@ +name: pr-title + +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + validate-pr-title: + name: validate-pr-title + runs-on: ${{ github.event.repository.visibility == 'public' && 'ubuntu-latest' || vars.LINUX_SERVER }} + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 92237487c8c4a63bf1226ebab77da54ff81237ee Mon Sep 17 00:00:00 2001 From: Philipp Wallrafen <74021231+philippwallrafen@users.noreply.github.com> Date: Tue, 6 Oct 2026 02:33:25 +0200 Subject: [PATCH 2/3] docs: align workflow guard with renamed file --- .github/workflows/AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/AGENTS.md b/.github/workflows/AGENTS.md index 0126614..226c6b2 100644 --- a/.github/workflows/AGENTS.md +++ b/.github/workflows/AGENTS.md @@ -18,4 +18,4 @@ - `WF-P001` Linux runners SHOULD be the default. - `WF-P002` A job that can execute correctly on Linux SHOULD run on Linux. - `WF-P003` macOS or Windows runners SHOULD only be used for platform-specific requirements or explicit compatibility testing. -- `WF-P004` `lint-pr.yml` MUST NOT be modified. +- `WF-P004` `pr-title.yml` MUST NOT be modified. From 49d6702723bd1eb089ff250bfd2e28a106144df1 Mon Sep 17 00:00:00 2001 From: Philipp Wallrafen <74021231+philippwallrafen@users.noreply.github.com> Date: Tue, 6 Oct 2026 02:33:26 +0200 Subject: [PATCH 3/3] chore: remove legacy PR title workflow filename --- .github/workflows/lint-pr.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/lint-pr.yml diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml deleted file mode 100644 index fbf9499..0000000 --- a/.github/workflows/lint-pr.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: 'Lint PR' - -on: - pull_request_target: - types: - - opened - - reopened - - edited - - synchronize - -jobs: - main: - name: Validate PR title - runs-on: ${{ github.event.repository.visibility == 'public' && 'ubuntu-latest' || vars.LINUX_SERVER }} - permissions: - pull-requests: read - steps: - - uses: amannn/action-semantic-pull-request@v6 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}