mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 00:57:23 +08:00
Allow ci/cd to skip draft PRs (#1314)
This commit is contained in:
parent
77e77775ad
commit
3df6f8c65b
7
.github/workflows/python-ci.yml
vendored
7
.github/workflows/python-ci.yml
vendored
@ -5,6 +5,11 @@ on:
|
||||
- "**/main" # Matches branches like feature/main
|
||||
- "main" # Matches the main branch
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches:
|
||||
- "**/main"
|
||||
- "main"
|
||||
@ -23,6 +28,8 @@ env:
|
||||
|
||||
jobs:
|
||||
python-ci:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10", "3.11"] # add 3.12 once gensim supports it. TODO: watch this issue - https://github.com/piskvorky/gensim/issues/3510
|
||||
|
||||
@ -5,6 +5,11 @@ on:
|
||||
- "**/main" # Matches branches like feature/main
|
||||
- "main" # Matches the main branch
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches:
|
||||
- "**/main"
|
||||
- "main"
|
||||
@ -23,6 +28,8 @@ env:
|
||||
|
||||
jobs:
|
||||
python-ci:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
|
||||
7
.github/workflows/python-notebook-tests.yml
vendored
7
.github/workflows/python-notebook-tests.yml
vendored
@ -5,6 +5,11 @@ on:
|
||||
- "**/main" # Matches branches like feature/main
|
||||
- "main" # Matches the main branch
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches:
|
||||
- "**/main"
|
||||
- "main"
|
||||
@ -23,6 +28,8 @@ env:
|
||||
|
||||
jobs:
|
||||
python-ci:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
|
||||
7
.github/workflows/python-smoke-tests.yml
vendored
7
.github/workflows/python-smoke-tests.yml
vendored
@ -5,6 +5,11 @@ on:
|
||||
- "**/main" # Matches branches like feature/main
|
||||
- "main" # Matches the main branch
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches:
|
||||
- "**/main"
|
||||
- "main"
|
||||
@ -23,6 +28,8 @@ env:
|
||||
|
||||
jobs:
|
||||
python-ci:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
|
||||
24
.github/workflows/semver.yml
vendored
24
.github/workflows/semver.yml
vendored
@ -1,15 +1,21 @@
|
||||
name: Semver Check
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
semver:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Check Semver
|
||||
run: ./scripts/semver-check.sh
|
||||
semver:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Check Semver
|
||||
run: ./scripts/semver-check.sh
|
||||
7
.github/workflows/spellcheck.yml
vendored
7
.github/workflows/spellcheck.yml
vendored
@ -3,10 +3,17 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
paths:
|
||||
- "**/*"
|
||||
jobs:
|
||||
spellcheck:
|
||||
# skip draft PRs
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user