diff --git a/.github/workflows/idle.yml b/.github/workflows/idle.yml index dc5ab72..b36bd65 100644 --- a/.github/workflows/idle.yml +++ b/.github/workflows/idle.yml @@ -22,6 +22,22 @@ on: default: 30 required: false type: number + close-issue-message: + description: Comment to add when a stale issue is closed. + required: false + type: string + stale-issue-message: + description: Comment to add when an issue becomes stale. + required: false + type: string + close-pr-message: + description: Comment to add when a stale PR is closed. + required: false + type: string + stale-pr-message: + description: Comment to add when a PR becomes stale. + required: false + type: string jobs: idle: @@ -34,6 +50,10 @@ jobs: days-before-close: ${{ inputs.days-before-close }} stale-issue-label: ${{ inputs.label }} stale-pr-label: ${{ inputs.label }} + close-issue-message: ${{ inputs.close-issue-message }} + stale-issue-message: ${{ inputs.stale-issue-message }} + close-pr-message: ${{ inputs.close-pr-message }} + stale-pr-message: ${{ inputs.stale-pr-message }} enable-statistics: true ascending: true # oldest first, for now operations-per-run: 300