Skip to content

Commit d4b71d4

Browse files
committed
keep the newest as default
1 parent 37e88c4 commit d4b71d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/run_dedupe.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ on:
88
type: boolean
99
description: Check if organization has geospatial duplicates
1010
required: true
11+
keep:
12+
type: choice
13+
description: 'Keep'
14+
required: true
15+
default: 'newest'
16+
options:
17+
- newest
18+
- oldest
1119
dryrun:
1220
type: boolean
1321
description: Only run the dryrun
@@ -176,6 +184,8 @@ jobs:
176184
if ${{ inputs.geospatial }}; then
177185
args="${args} --geospatial"
178186
fi
187+
if ${{ inputs.keep == 'newest' }}; then
188+
args="${args} --newest"
179189
if ! ${{ inputs.dryrun }}; then
180190
args="${args} --commit"
181191
args="${args} --api-key ${{secrets.CKAN_API_TOKEN}}"

0 commit comments

Comments
 (0)