diff --git a/.github/workflows/backport.reminder.yml b/.github/workflows/backport.reminder.yml index cf1634480..4ad6db42a 100644 --- a/.github/workflows/backport.reminder.yml +++ b/.github/workflows/backport.reminder.yml @@ -33,10 +33,10 @@ jobs: - name: Add Backport pending label (single PR) if: github.event_name == 'pull_request_target' run: | - python github_ci_tools/scripts/backport.py label --pr-mode - python github_ci_tools/scripts/backport.py remind --pr-mode --pending-reminder-age-days ${{ github.event.inputs.pending_label_age_days }} + python github_ci_tools/scripts/backport.py --pr-mode label + python github_ci_tools/scripts/backport.py --pr-mode remind --pending-reminder-age-days ${{ github.event.inputs.pending_label_age_days || '14' }} - name: Add Backport pending label (bulk) if: github.event_name != 'pull_request_target' run: | - python github_ci_tools/scripts/backport.py label --lookback-days ${{ github.event.inputs.lookback_days }} - python github_ci_tools/scripts/backport.py remind --lookback-days ${{ github.event.inputs.lookback_days }} --pending-reminder-age-days ${{ github.event.inputs.pending_label_age_days }} \ No newline at end of file + python github_ci_tools/scripts/backport.py label --lookback-days ${{ github.event.inputs.lookback_days || '7' }} + python github_ci_tools/scripts/backport.py remind --lookback-days ${{ github.event.inputs.lookback_days || '7' }} --pending-reminder-age-days ${{ github.event.inputs.pending_label_age_days || '14' }}