From dd45d6cab298a21ffbd69a781ab140a44adda8d9 Mon Sep 17 00:00:00 2001 From: codexy Date: Wed, 28 Oct 2026 10:55:03 +0900 Subject: [PATCH] ci: reduce duplicate checks and redundant runner work --- .github/workflows/ai-use-notice.yml | 9 ++++++++- .github/workflows/ci.yml | 8 +++++++- .github/workflows/public-docs.yml | 9 ++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai-use-notice.yml b/.github/workflows/ai-use-notice.yml index b669b97..11ee216 100644 --- a/.github/workflows/ai-use-notice.yml +++ b/.github/workflows/ai-use-notice.yml @@ -1,10 +1,17 @@ name: AI use notice -on: [push, pull_request] +on: + pull_request: + push: + branches: [main] permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: notice: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8f2ac1..aac69b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,13 @@ name: Verify HangulScript -on: [push, pull_request] +on: + pull_request: + push: + branches: [main] permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: verify: runs-on: ubuntu-latest diff --git a/.github/workflows/public-docs.yml b/.github/workflows/public-docs.yml index 3873be6..10195f8 100644 --- a/.github/workflows/public-docs.yml +++ b/.github/workflows/public-docs.yml @@ -1,10 +1,17 @@ name: Commit hygiene -on: [push, pull_request] +on: + pull_request: + push: + branches: [main] permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: review: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - uses: actions/checkout@v4 with: