diff --git a/.github/workflows/fr-gate-caller.yml b/.github/workflows/fr-gate-caller.yml new file mode 100644 index 0000000..b725e2c --- /dev/null +++ b/.github/workflows/fr-gate-caller.yml @@ -0,0 +1,15 @@ +name: FR gate + +# Per-repo caller. Blocks merges to staging/main/master unless every contained +# kanban item is in "Ready for staging" or "Ready for prod" respectively. +# All logic lives in tracebloc/.github/.github/workflows/fr-gate.yml. + +on: + pull_request: + branches: [staging, main, master] + types: [opened, reopened, synchronize, ready_for_review, labeled, unlabeled] + +jobs: + gate: + uses: tracebloc/.github/.github/workflows/fr-gate.yml@main + secrets: inherit diff --git a/.github/workflows/public-pii-gate-caller.yml b/.github/workflows/public-pii-gate-caller.yml new file mode 100644 index 0000000..4af6016 --- /dev/null +++ b/.github/workflows/public-pii-gate-caller.yml @@ -0,0 +1,14 @@ +name: Public PII gate + +# Per-repo caller for the public-repo PII gate. Blocks PRs whose title/body/ +# commits contain a denylisted customer/partner name or known secret. +# Logic lives in tracebloc/.github/.github/workflows/public-pii-gate.yml. + +on: + pull_request: + types: [opened, edited, reopened, synchronize, labeled, unlabeled] + +jobs: + pii-gate: + uses: tracebloc/.github/.github/workflows/public-pii-gate.yml@main + secrets: inherit diff --git a/.github/workflows/wip-limit-check.yml b/.github/workflows/wip-limit-check.yml index 8c027df..55bbd0d 100644 --- a/.github/workflows/wip-limit-check.yml +++ b/.github/workflows/wip-limit-check.yml @@ -2,7 +2,7 @@ name: WIP limit check on: pull_request: - types: [opened, ready_for_review] + types: [opened, reopened, ready_for_review] jobs: check: diff --git a/notebooks/traceblocTrainingGuide.ipynb b/notebooks/traceblocTrainingGuide.ipynb index d9a9ecc..9eac8e3 100644 --- a/notebooks/traceblocTrainingGuide.ipynb +++ b/notebooks/traceblocTrainingGuide.ipynb @@ -38,7 +38,7 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": "# Install the tracebloc package \u2014 the [pytorch] extra covers the most common setup.\n# Using TensorFlow? Replace [pytorch] with [tensorflow]. See the README for all extras.\n!pip install \"tracebloc[pytorch]>=0.8.1\" -q" + "source": "# Install the tracebloc package \u2014 the [pytorch] extra covers the most common setup.\n# Using TensorFlow? Replace [pytorch] with [tensorflow]. See the README for all extras.\n!pip install \"tracebloc[pytorch]>=0.14.0\" -q" }, { "cell_type": "code", @@ -103,8 +103,8 @@ "metadata": {}, "outputs": [], "source": [ - "# Clone the tracebloc model zoo (skip if you already have it)\n", - "!git clone https://github.com/tracebloc/model-zoo.git ../model-zoo 2>/dev/null || echo \"model-zoo already cloned\"" + "# Clone the tracebloc model zoo (skipped if it's already present)\n", + "![ -d ../model-zoo ] && echo \"model-zoo already present - skipping clone\" || git clone https://github.com/tracebloc/model-zoo.git ../model-zoo" ] }, {