Skip to content

Commit 2632b65

Browse files
committed
Add ready_for_review type to pull_request trigger types
This runs checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened by other workflows.
1 parent 7eb261e commit 2632b65

5 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/check-expected-release-files.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
paths:
66
- .github/workflows/check-expected-release-files.yml
77
- src/defaults.json
8+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
9+
# by other workflows.
10+
types: [opened, synchronize, reopened, ready_for_review]
811

912
jobs:
1013
check-expected-release-files:

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [main, v1]
66
pull_request:
77
branches: [main, v1]
8+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
9+
# by other workflows.
10+
types: [opened, synchronize, reopened, ready_for_review]
811

912
jobs:
1013
# Identify the CodeQL tool versions to use in the analysis job.

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
push:
88
branches: [main, v1]
99
pull_request:
10+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
11+
# by other workflows.
12+
types: [opened, synchronize, reopened, ready_for_review]
1013
workflow_dispatch:
1114

1215
jobs:

.github/workflows/python-deps.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: [main, v1]
66
pull_request:
7+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
8+
# by other workflows.
9+
types: [opened, synchronize, reopened, ready_for_review]
710

811
jobs:
912
test-setup-python-scripts:

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Update dependencies
22
on:
33
pull_request_target:
4-
types: [opened, synchronize, reopened, labeled]
4+
types: [opened, synchronize, reopened, ready_for_review, labeled]
55

66
jobs:
77
update:

0 commit comments

Comments
 (0)