Skip to content

Commit

Permalink
keep the newest as default
Browse files Browse the repository at this point in the history
  • Loading branch information
FuhuXia committed Jan 2, 2025
1 parent 37e88c4 commit d4b71d4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/run_dedupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
type: boolean
description: Check if organization has geospatial duplicates
required: true
keep:
type: choice
description: 'Keep'
required: true
default: 'newest'
options:
- newest
- oldest
dryrun:
type: boolean
description: Only run the dryrun
Expand Down Expand Up @@ -176,6 +184,8 @@ jobs:
if ${{ inputs.geospatial }}; then
args="${args} --geospatial"
fi
if ${{ inputs.keep == 'newest' }}; then
args="${args} --newest"
if ! ${{ inputs.dryrun }}; then
args="${args} --commit"
args="${args} --api-key ${{secrets.CKAN_API_TOKEN}}"
Expand Down

0 comments on commit d4b71d4

Please sign in to comment.