Commit d33eb04
Improve fork safety: consolidate approval and add pull_request trigger (#919)
* Improve fork safety: consolidate approval and add pull_request trigger
- Add pull_request trigger for internal PRs (non-forks) to test workflow changes immediately
- Keep pull_request_target for fork PRs that need access to secrets
- Move approval step to test-all-warehouses.yml (runs once instead of per-platform)
- Remove per-platform approval from test-warehouse.yml to reduce spam
Fixes ELE-5221
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Fix: use !cancelled() and check fork-status result before running tests
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Remove redundant comment on test job condition
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Refactor: move should_skip logic inside PR event check block
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>1 parent a24aa38 commit d33eb04
File tree
2 files changed
+50
-18
lines changed- .github/workflows
2 files changed
+50
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
34 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
35 | 84 | | |
36 | 85 | | |
37 | 86 | | |
| |||
66 | 115 | | |
67 | 116 | | |
68 | 117 | | |
69 | | - | |
| 118 | + | |
70 | 119 | | |
71 | 120 | | |
72 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 55 | | |
71 | 56 | | |
72 | | - | |
73 | | - | |
74 | 57 | | |
75 | 58 | | |
76 | 59 | | |
| |||
0 commit comments