brainscore_language.submission.actions_helpers

GitHub Actions helper functions for language domain Supports the plugin submission prepare and validate workflows

Functions: - validate_pr: Validate PR for automerge eligibility - trigger_layer_mapping: Trigger Jenkins layer mapping job - send_failure_email: Send failure notification email

Functions

get_data(url[, token])

Fetch data from GitHub API

get_statuses_result(context, statuses_json)

Get the latest status result for a given context

main()

send_failure_email(email, pr_number, ...)

Send failure notification email to user

trigger_layer_mapping(new_models, pr_number, ...)

Trigger Jenkins layer mapping job

trigger_update_existing_metadata(...[, ...])

Trigger Jenkins update_existing_metadata job

validate_pr(pr_number, pr_head, ...[, ...])

Validate PR for automerge eligibility