Skip to content

Commit 3452c5d

Browse files
committed
WIP: Pull request comment
1 parent 8b55263 commit 3452c5d

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Pull request
22

33
on:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
# types: [opened, reopened, synchronize]
6+
types: [ready_for_review]
67

78
concurrency:
89
group: ${{ github.workflow }}-${{ github.ref }}
@@ -12,11 +13,13 @@ jobs:
1213
tests:
1314
name: Test
1415
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
16+
if: (github.event.action != 'ready_for_review') || (github.event.action == 'ready_for_review' && github.event.pull_request.user.login == 'github-actions[bot]')
1517
with:
1618
linux_exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
1719
soundness:
1820
name: Soundness
1921
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
22+
if: (github.event.action != 'ready_for_review') || (github.event.action == 'ready_for_review' && github.event.pull_request.user.login == 'github-actions[bot]')
2023
with:
2124
license_header_check_project_name: "Swift.org"
2225
api_breakage_check_allowlist_path: "api-breakages.txt"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Pull request comment
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
run_pr_tests:
9+
uses: ./.github/workflows/pull_request.yml

0 commit comments

Comments
 (0)