misc: tighten CI trigger conditions (#7279)

This commit is contained in:
Joshua Chen 2022-04-30 22:17:37 +08:00 committed by GitHub
parent 9fd5d62340
commit 3c24cbc2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 11 deletions

View File

@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- packages/docusaurus/**
- packages/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -9,8 +9,10 @@ on:
pull_request:
branches:
- main
paths-ignore:
- website/docs/**
paths:
- packages/**
- website/**
- '!website/docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -4,13 +4,15 @@ on:
push:
branches:
- main
paths-ignore:
- website/**
paths:
- packages/**
- tsconfig.json
pull_request:
branches:
- main
paths-ignore:
- website/**
paths:
- packages/**
- tsconfig.json
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -4,8 +4,9 @@ on:
pull_request:
branches:
- main
paths-ignore:
- website/**
paths:
- packages/**
- tsconfig.json
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

View File

@ -4,8 +4,9 @@ on:
pull_request:
branches:
- main
paths-ignore:
- website/**
paths:
- packages/**
- tsconfig.json
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}