-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New origin-trials data, script, and UI
- Loading branch information
1 parent
9184bcf
commit 4b31720
Showing
6 changed files
with
1,018 additions
and
4,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Update origin trials | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
schedule: | ||
# Run once a week. | ||
- cron: '0 12 * * 1' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check-out the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
if: ${{ github.event_name == 'push' }} | ||
run: npm ci | ||
|
||
- name: Run the update-origin-trials script | ||
if: ${{ github.event_name != 'push' }} | ||
run: node additional-data/scripts/update-origin-trials.js | ||
|
||
- name: Commit changes | ||
if: ${{ github.event_name != 'push' }} | ||
run: | | ||
git config --local user.email "${{ github.actor }}@users.noreply.github.com" | ||
git config --local user.name "${{ github.actor }}" | ||
git add . | ||
git commit -m "Refresh OTs" --allow-empty | ||
git push origin main |
Oops, something went wrong.