Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes bugs introduced by #108 #174

Merged
merged 13 commits into from
Apr 29, 2023
Merged

Fixes bugs introduced by #108 #174

merged 13 commits into from
Apr 29, 2023

Conversation

kvfairchild
Copy link
Contributor

@kvfairchild kvfairchild commented Apr 28, 2023

Addresses the following items introduced by #108:

  • The automerge workflow cannot trigger in main on check_suite completion from a PR. After a successful Travis run on a PR, Travis now triggers the automerge workflow directly via a status update.

  • For security reasons, GitHub Actions workflows cannot be triggered by jobs in other workflows via the default GITHUB_TOKEN, so the automerge job cannot catalyze the scoring workflow using this token. GITHUB_TOKEN has now been updated to WORKFLOW_TOKEN, which was created for use in these workflows and owned by the Brain-Score organization.

  • Also for security reasons, Travis does not make encrypted environment variables available to forks. This PR separates Travis tests for each Python version into "public" and "private" jobs, where "private" jobs will not run on PRs from forks, and marks tests requiring these variables as private.

  • To reduce test runtime, this PR removes python 3.7 as a supported version. As per add python 3.7 to build matrix again #171, we anticipate re-incorporating 3.7 after additional measures have been taken to further reduce testing time (e.g. only run travis tests for plugins when first added #173).

  • This PR also adds more flexibility in specifying scoring parameters by converting some previously required params to fully optional.

@kvfairchild kvfairchild merged commit 021feda into main Apr 29, 2023
@mschrimpf mschrimpf deleted the kvf/submission_cleanup branch April 29, 2023 13:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants