@@ -2,15 +2,22 @@ name: Pull request
22
33permissions :
44 contents : read
5+ issues : read
6+ pull-requests : read
57
68on :
79 pull_request :
8- types : [opened, reopened, synchronize]
10+ types : [opened, edited, reopened, labeled, unlabeled , synchronize]
911
1012jobs :
13+ github_actiion_pr_dependency_check :
14+ name : GitHub Action Dependency Check
15+ uses : ./.github/workflows/github_actions_dependencies.yml
16+
1117 tests_with_docker_embedded_swift :
1218 name : Test Embedded Swift SDKs
1319 uses : ./.github/workflows/swift_package_test.yml
20+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
1421 with :
1522 # Wasm
1623 enable_linux_checks : false
2330 tests_with_docker :
2431 name : Test with Docker
2532 uses : ./.github/workflows/swift_package_test.yml
33+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
2634 with :
2735 # Linux
2836 linux_os_versions : ' ["jammy", "rhel-ubi9", "amazonlinux2"]'
4654 tests_without_docker :
4755 name : Test without Docker
4856 uses : ./.github/workflows/swift_package_test.yml
57+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
4958 with :
5059 # Skip Linux which doesn't currently support docker-less workflow
5160 enable_linux_checks : false
6574 tests_macos :
6675 name : Test
6776 uses : ./.github/workflows/swift_package_test.yml
77+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
6878 with :
6979 enable_linux_checks : false
7080 enable_windows_checks : false
7787 build_tests_ios :
7888 name : Build iOS Tests
7989 uses : ./.github/workflows/swift_package_test.yml
90+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
8091 with :
8192 enable_linux_checks : false
8293 enable_windows_checks : false
89100 soundness :
90101 name : Soundness
91102 uses : ./.github/workflows/soundness.yml
103+ if : ${{ github.event_name == 'opened' || github.event_name == 'reopened' || github.event_name == 'synchronize' }}
92104 with :
93105 api_breakage_check_enabled : false
94106 license_header_check_project_name : " Swift.org"
0 commit comments