|
| 1 | +- name: Close Stale Issues |
| 2 | + |
| 3 | + with: |
| 4 | + # Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`. |
| 5 | + repo-token: # optional, default is ${{ github.token }} |
| 6 | + # The message to post on the issue when tagging it. If none provided, will not mark issues stale. |
| 7 | + stale-issue-message: # optional |
| 8 | + # The message to post on the pull request when tagging it. If none provided, will not mark pull requests stale. |
| 9 | + stale-pr-message: # optional |
| 10 | + # The message to post on the issue when closing it. If none provided, will not comment when closing an issue. |
| 11 | + close-issue-message: # optional |
| 12 | + # The message to post on the pull request when closing it. If none provided, will not comment when closing a pull requests. |
| 13 | + close-pr-message: # optional |
| 14 | + # The number of days old an issue or a pull request can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically. |
| 15 | + days-before-stale: # optional, default is 60 |
| 16 | + # The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues. |
| 17 | + days-before-issue-stale: # optional |
| 18 | + # The number of days old a pull request can be before marking it stale. Set to -1 to never mark pull requests as stale automatically. Override "days-before-stale" option regarding only the pull requests. |
| 19 | + days-before-pr-stale: # optional |
| 20 | + # The number of days to wait to close an issue or a pull request after it being marked stale. Set to -1 to never close stale issues or pull requests. |
| 21 | + days-before-close: # optional, default is 7 |
| 22 | + # The number of days to wait to close an issue after it being marked stale. Set to -1 to never close stale issues. Override "days-before-close" option regarding only the issues. |
| 23 | + days-before-issue-close: # optional |
| 24 | + # The number of days to wait to close a pull request after it being marked stale. Set to -1 to never close stale pull requests. Override "days-before-close" option regarding only the pull requests. |
| 25 | + days-before-pr-close: # optional |
| 26 | + # The label to apply when an issue is stale. |
| 27 | + stale-issue-label: # optional, default is Stale |
| 28 | + # The label to apply when an issue is closed. |
| 29 | + close-issue-label: # optional |
| 30 | + # The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2"). |
| 31 | + exempt-issue-labels: # optional, default is |
| 32 | + # The label to apply when a pull request is stale. |
| 33 | + stale-pr-label: # optional, default is Stale |
| 34 | + # The label to apply when a pull request is closed. |
| 35 | + close-pr-label: # optional |
| 36 | + # The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2"). |
| 37 | + exempt-pr-labels: # optional, default is |
| 38 | + # The milestones that mean an issue or a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). |
| 39 | + exempt-milestones: # optional, default is |
| 40 | + # The milestones that mean an issue is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the issues. |
| 41 | + exempt-issue-milestones: # optional, default is |
| 42 | + # The milestones that mean a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the pull requests. |
| 43 | + exempt-pr-milestones: # optional, default is |
| 44 | + # Exempt all issues and pull requests with milestones from being marked as stale. Default to false. |
| 45 | + exempt-all-milestones: # optional, default is false |
| 46 | + # Exempt all issues with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the issues. |
| 47 | + exempt-all-issue-milestones: # optional, default is |
| 48 | + # Exempt all pull requests with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the pull requests. |
| 49 | + exempt-all-pr-milestones: # optional, default is |
| 50 | + # Only issues or pull requests with all of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. |
| 51 | + only-labels: # optional, default is |
| 52 | + # Only issues or pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. |
| 53 | + any-of-labels: # optional, default is |
| 54 | + # Only issues with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the issues. |
| 55 | + any-of-issue-labels: # optional, default is |
| 56 | + # Only pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the pull requests. |
| 57 | + any-of-pr-labels: # optional, default is |
| 58 | + # Only issues with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the issues. |
| 59 | + only-issue-labels: # optional, default is |
| 60 | + # Only pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the pull requests. |
| 61 | + only-pr-labels: # optional, default is |
| 62 | + # The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related). |
| 63 | + operations-per-run: # optional, default is 30 |
| 64 | + # Remove stale labels from issues and pull requests when they are updated or commented on. |
| 65 | + remove-stale-when-updated: # optional, default is true |
| 66 | + # Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues. |
| 67 | + remove-issue-stale-when-updated: # optional, default is |
| 68 | + # Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests. |
| 69 | + remove-pr-stale-when-updated: # optional, default is |
| 70 | + # Run the processor in debug mode without actually performing any operations on live issues. |
| 71 | + debug-only: # optional, default is false |
| 72 | + # The order to get issues or pull requests. Defaults to false, which is descending. |
| 73 | + ascending: # optional, default is false |
| 74 | + # Delete the git branch after closing a stale pull request. |
| 75 | + delete-branch: # optional, default is false |
| 76 | + # The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822). |
| 77 | + start-date: # optional, default is |
| 78 | + # The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). |
| 79 | + exempt-assignees: # optional, default is |
| 80 | + # The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the issues. |
| 81 | + exempt-issue-assignees: # optional, default is |
| 82 | + # The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the pull requests. |
| 83 | + exempt-pr-assignees: # optional, default is |
| 84 | + # Exempt all issues and pull requests with assignees from being marked as stale. Default to false. |
| 85 | + exempt-all-assignees: # optional, default is false |
| 86 | + # Exempt all issues with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the issues. |
| 87 | + exempt-all-issue-assignees: # optional, default is |
| 88 | + # Exempt all pull requests with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the pull requests. |
| 89 | + exempt-all-pr-assignees: # optional, default is |
| 90 | + # Exempt draft pull requests from being marked as stale. Default to false. |
| 91 | + exempt-draft-pr: # optional, default is false |
| 92 | + # Display some statistics at the end regarding the stale workflow (only when the logs are enabled). |
| 93 | + enable-statistics: # optional, default is true |
| 94 | + # A comma delimited list of labels to add when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it. |
| 95 | + labels-to-add-when-unstale: # optional, default is |
| 96 | + # A comma delimited list of labels to remove when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it. |
| 97 | + labels-to-remove-when-unstale: # optional, default is |
| 98 | + # Any update (update/comment) can reset the stale idle time on the issues and pull requests. |
| 99 | + ignore-updates: # optional, default is false |
| 100 | + # Any update (update/comment) can reset the stale idle time on the issues. Override "ignore-updates" option regarding only the issues. |
| 101 | + ignore-issue-updates: # optional, default is |
| 102 | + # Any update (update/comment) can reset the stale idle time on the pull requests. Override "ignore-updates" option regarding only the pull requests. |
| 103 | + ignore-pr-updates: # optional, default is |
0 commit comments