Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
# branch keeps its last good snapshot.
# - History is pruned to the most recent 200 commits per the design.
#
# Manual trigger: Actions tab → "Nightly online-data refresh" → Run.
# Manual trigger: Actions tab → "Update data" → Run workflow.

name: Nightly online-data refresh
name: Update data

on:
schedule:
Expand All @@ -54,7 +54,7 @@ permissions:
contents: write

concurrency:
group: nightly-online-data
group: update-data
cancel-in-progress: false

env:
Expand All @@ -64,8 +64,8 @@ env:
HISTORY_LIMIT: 200

jobs:
refresh:
name: Refresh online-data datasets
update:
name: Update online-data datasets
runs-on: ubuntu-latest
steps:
- name: Checkout main (default branch)
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
if: always()
run: |
{
echo "## Nightly online-data refresh"
echo "## Update online-data"
echo ""
echo "| source / step | outcome |"
echo "|---|---|"
Expand Down
2 changes: 1 addition & 1 deletion crates/fbuild-core/examples/dump_usb_ids.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Dump the bundled `usb-ids` database as a JSON object to stdout.
//!
//! Used by the `online-data` branch's nightly workflow (see
//! `.github/workflows/nightly-usb-ids.yml`) as one of the input sources
//! `.github/workflows/update-data.yml`) as one of the input sources
//! for the merged `usb-vid.json`. Running this example via
//! `soldr cargo run --release --example dump_usb_ids -p fbuild-core`
//! captures the exact data the bundled `usb-ids` crate version we depend
Expand Down
4 changes: 2 additions & 2 deletions docs/online-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ the merger script and commit results.

## How a refresh happens

`.github/workflows/nightly-usb-ids.yml` is the only workflow that touches
`.github/workflows/update-data.yml` is the only workflow that touches
`online-data`. It lives on `main` because GitHub Actions requires `schedule`
and `workflow_dispatch` triggers to be defined on the default branch.

Expand Down Expand Up @@ -92,7 +92,7 @@ Per run:
9. `git push --force-with-lease origin online-data` (the force is needed
only when history was pruned).

Manual trigger: Actions → "Nightly USB IDs refresh" → Run workflow.
Manual trigger: Actions → "Update data" → Run workflow.

## Fault tolerance contract

Expand Down
Loading