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. diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/pr-title.yml similarity index 85% rename from .github/workflows/lint-pr.yml rename to .github/workflows/pr-title.yml index fbf9499..ecb4ebb 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/pr-title.yml @@ -1,4 +1,4 @@ -name: 'Lint PR' +name: pr-title on: pull_request_target: @@ -9,8 +9,8 @@ on: - synchronize jobs: - main: - name: Validate PR title + validate-pr-title: + name: validate-pr-title runs-on: ${{ github.event.repository.visibility == 'public' && 'ubuntu-latest' || vars.LINUX_SERVER }} permissions: pull-requests: read