You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: optimize contributor workflow to use check_suite (#4819)
* refactor: use check_suite instead of check_run for contributor workflow
The contributors workflow was triggering after every individual check
completion. By switching to the check_suite event, it will now only
run once after all checks in a suite have completed, reducing
unnecessary workflow runs.
Changes:
- Changed trigger from check_run to check_suite
- Updated condition logic to handle check_suite event payload
- Updated script to extract PR number from check_suite.pull_requests
Signed-off-by: Mark Phelps <[email protected]>
* refactor: only run contributor workflow on check suite failure
Updated the workflow to only trigger when the check suite fails,
avoiding unnecessary runs when all checks pass successfully.
Signed-off-by: Mark Phelps <[email protected]>
* refactor: rename job to check-dco
Signed-off-by: Mark Phelps <[email protected]>
---------
Signed-off-by: Mark Phelps <[email protected]>
0 commit comments