Skip to content

Commit

Permalink
Revert "Temporarily run delete-model-runs on pull_request event for t…
Browse files Browse the repository at this point in the history
…esting"

This reverts commit 09cfa5b.
  • Loading branch information
jeancochrane committed Nov 20, 2023
1 parent 09cfa5b commit 759550d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/delete-model-runs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
name: delete-model-runs

on:
pull_request:
workflow_dispatch:
inputs:
run-ids:
description: >
Run IDs: Space-delimited list of IDs of model runs to delete. Note
that the workflow assumes these IDs correspond to model runs for the
current assessment cycle, and if that's not the case the deletion
script will raise an error.
required: true
type: string
default: 2024-01-01-foo-bar 2024-01-02-bar-baz

jobs:
delete-model-runs:
Expand Down Expand Up @@ -46,4 +56,4 @@ jobs:
run: Rscript ./R/delete_current_year_model_runs.R "${RUN_IDS// /,}"
shell: bash
env:
RUN_IDS: 2024-01-01-foo-bar 2024-01-02-bar-baz
RUN_IDS: ${{ inputs.run-ids }}

0 comments on commit 759550d

Please sign in to comment.