We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e88c4 commit afc9defCopy full SHA for afc9def
.github/workflows/run_dedupe.yml
@@ -8,6 +8,14 @@ on:
8
type: boolean
9
description: Check if organization has geospatial duplicates
10
required: true
11
+ keep:
12
+ type: choice
13
+ description: 'Keep'
14
+ required: true
15
+ default: 'newest'
16
+ options:
17
+ - newest
18
+ - oldest
19
dryrun:
20
21
description: Only run the dryrun
@@ -176,6 +184,8 @@ jobs:
176
184
if ${{ inputs.geospatial }}; then
177
185
args="${args} --geospatial"
178
186
fi
187
+ if ! ${{ inputs.keep == 'newest' }}; then
188
+ args="${args} --newest"
179
189
if ! ${{ inputs.dryrun }}; then
180
190
args="${args} --commit"
181
191
args="${args} --api-key ${{secrets.CKAN_API_TOKEN}}"
0 commit comments