From 9251f7fa4e10558dd2c710f401d7549300bf999b Mon Sep 17 00:00:00 2001 From: TESTELIN Geoffrey Date: Wed, 24 Aug 2022 23:33:03 +0200 Subject: [PATCH] docs(website): replace all the website links to the new one From GitHub pages to Vercel. Closes #842. --- .github/ISSUE_TEMPLATE/blog_article.md | 2 +- README.md | 232 ++++++++++++------------- 2 files changed, 117 insertions(+), 117 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/blog_article.md b/.github/ISSUE_TEMPLATE/blog_article.md index 137e042df..9a4da3f09 100644 --- a/.github/ISSUE_TEMPLATE/blog_article.md +++ b/.github/ISSUE_TEMPLATE/blog_article.md @@ -8,6 +8,6 @@ assignees: 'C0ZEN' **Your blog post:** - + diff --git a/README.md b/README.md index 90f59f231..490ba8cb9 100644 --- a/README.md +++ b/README.md @@ -48,157 +48,157 @@ ## Documentation -To have in-depth documentation and examples, see the [documentation website](https://sonia-corporation.github.io/stale/). +To have in-depth documentation and examples, see the [documentation website](https://sonia-stale-action.vercel.app). ## Default configuration ### Issues -After 30 days (coming from [issue-days-before-stale](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-days-before-stale-input)) without any update on the issue, add a label `stale` (coming from [issue-stale-label](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-stale-label-input)) on the issue to indicate that it is stale. +After 30 days (coming from [issue-days-before-stale](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-days-before-stale-input)) without any update on the issue, add a label `stale` (coming from [issue-stale-label](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-stale-label-input)) on the issue to indicate that it is stale. If an update occur after being stale, the `stale` label will be removed and the count will be reset back to 30 days. Removing the `stale` label manually will also do the trick. -If the `stale` label on the issue is still here for more than 10 days (coming from [issue-days-before-close](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-days-before-close-input)), the issue will be closed. +If the `stale` label on the issue is still here for more than 10 days (coming from [issue-days-before-close](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-days-before-close-input)), the issue will be closed. ### Pull requests -After 30 days (coming from [pull-request-days-before-stale](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-days-before-stale-input)) without any update on the pull request, add a label `stale` (coming from [pull-request-stale-label](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-stale-label-input)) on the pull request to indicate that it is stale. +After 30 days (coming from [pull-request-days-before-stale](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-days-before-stale-input)) without any update on the pull request, add a label `stale` (coming from [pull-request-stale-label](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-stale-label-input)) on the pull request to indicate that it is stale. If an update occur after being stale, the `stale` label will be removed and the count will be reset back to 30 days. Removing the `stale` label manually will also do the trick. -If the `stale` label on the pull request is still here for more than 10 days (coming from [pull-request-days-before-close](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-days-before-close-input)), the pull request will be closed. +If the `stale` label on the pull request is still here for more than 10 days (coming from [pull-request-days-before-close](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-days-before-close-input)), the pull request will be closed. ## All the common inputs All the inputs that are used both for issues and pull requests. -| Input | Description | Default | -| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | -| [github-token](https://sonia-corporation.github.io/stale/docs/github-token-input) | A GitHub token used to perform the API calls to GitHub through `@actions/github`. Usually `${{ secrets.GITHUB_TOKEN }}`. | `${{ github.token }}` | -| [dry-run](https://sonia-corporation.github.io/stale/docs/dry-run-input) | A mode where any Data Manipulation Language will be skipped. Useful to debug safely and without risking messing up with your repository. | `false` | +| Input | Description | Default | +| ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | +| [github-token](https://sonia-stale-action.vercel.app/docs/github-token-input) | A GitHub token used to perform the API calls to GitHub through `@actions/github`. Usually `${{ secrets.GITHUB_TOKEN }}`. | `${{ github.token }}` | +| [dry-run](https://sonia-stale-action.vercel.app/docs/dry-run-input) | A mode where any Data Manipulation Language will be skipped. Useful to debug safely and without risking messing up with your repository. | `false` | ## All the issues inputs -| Input | Description | Default | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -| **Labels** | | | -| [issue-stale-label](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-stale-label-input) | The label that will be added to the issue when it is stale. | `stale` | -| [issue-ignore-all-labels](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-all-labels-input) | Allow to ignore the processing of issues that contains any labels. | `false` | -| [issue-ignore-any-labels](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-any-labels-input) | Allow to ignore the processing of issues that contains one of those labels (multiline). | | -| **Assignees** | | | -| [issue-ignore-all-assignees](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-all-assignees-input) | Allow to ignore the processing of issues that contains any assignees. | `false` | -| [issue-ignore-any-assignees](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-any-assignees-input) | Allow to ignore the processing of issues that contains one of those assignees (multiline). | | -| [issue-only-with-assignees](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-wih-assignees-input) | Only allow the processing of issues that contains at least one assignee. | `false` | -| [issue-only-any-assignees](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-any-assignees-input) | Only allow the processing of issues that contains one of those assignees (multiline). | | -| **Project cards** | | | -| [issue-ignore-all-project-cards](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-all-project-cards-input) | Allow to ignore the processing of issues that contains any project cards. | `false` | -| [issue-ignore-any-project-cards](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-any-project-cards-input) | Allow to ignore the processing of issues that contains one of those project cards (multiline). | | -| [issue-only-with-project-cards](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-wih-project-cards-input) | Only allow the processing of issues that contains at least one project card. | `false` | -| [issue-only-any-project-cards](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-any-project-cards-input) | Only allow the processing of issues that contains one of those project cards (multiline). | | -| **Milestones** | | | -| [issue-ignore-all-milestones](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-all-milestones-input) | Allow to ignore the processing of issues that contains any milestones. | `false` | -| [issue-ignore-any-milestones](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-any-milestones-input) | Allow to ignore the processing of issues that contains one of those milestones (multiline). | | -| [issue-only-with-milestones](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-wih-milestones-input) | Only allow the processing of issues that contains at least one milestone. | `false` | -| [issue-only-any-milestones](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-only-any-milestones-input) | Only allow the processing of issues that contains one of those milestones (multiline). | | -| **Comments** | | | -| [issue-stale-comment](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-stale-comment-input) | The comment that will be sent once the issue is stale (keep empty to not send a comment). | | -| [issue-close-comment](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-close-comment-input) | The comment that will be sent once the issue is close (keep empty to not send a comment). | | -| **Durations** | | | -| [issue-days-before-stale](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-days-before-stale-input) | The number of days until the issue is considered as stale. | `30` | -| [issue-add-labels-after-stale](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-add-labels-after-stale-input) | A list of labels added when the processing stale the issue (multiline). | | -| [issue-days-before-close](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-days-before-close-input) | The number of days until a stale issue is considered as closed. | `10` | -| [issue-add-labels-after-close](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-add-labels-after-close-input) | A list of labels added when the processing close the issue (multiline). | | -| **Limiters** | | | -| [issue-limit-api-queries-count](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-limit-api-queries-count-input) | Limit the quantity of API queries calls performed during the processing of issues (`-1` for unlimited). | `-1` | -| [issue-limit-api-mutations-count](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-limit-api-mutations-count-input) | Limit the quantity of API mutations calls performed during the processing of issues (`-1` for unlimited). | `-1` | -| [issue-ignore-before-creation-date](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-ignore-before-creation-date-input) | Allow to ignore the processing of issues that were created before this date ([ISO 8601](https://moment.github.io/luxon/#/parsing?id=iso-8601)). | | -| **Others** | | | -| [issue-processing](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-processing-input) | Allow to process the issues. | `true` | -| [issue-close-reason](https://sonia-corporation.github.io/stale/docs/issues/inputs/issue-close-reason-input) | The reason when closing an issue (`completed` or `not planned`). | `not planned` | +| Input | Description | Default | +| ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | +| **Labels** | | | +| [issue-stale-label](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-stale-label-input) | The label that will be added to the issue when it is stale. | `stale` | +| [issue-ignore-all-labels](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-all-labels-input) | Allow to ignore the processing of issues that contains any labels. | `false` | +| [issue-ignore-any-labels](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-any-labels-input) | Allow to ignore the processing of issues that contains one of those labels (multiline). | | +| **Assignees** | | | +| [issue-ignore-all-assignees](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-all-assignees-input) | Allow to ignore the processing of issues that contains any assignees. | `false` | +| [issue-ignore-any-assignees](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-any-assignees-input) | Allow to ignore the processing of issues that contains one of those assignees (multiline). | | +| [issue-only-with-assignees](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-wih-assignees-input) | Only allow the processing of issues that contains at least one assignee. | `false` | +| [issue-only-any-assignees](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-any-assignees-input) | Only allow the processing of issues that contains one of those assignees (multiline). | | +| **Project cards** | | | +| [issue-ignore-all-project-cards](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-all-project-cards-input) | Allow to ignore the processing of issues that contains any project cards. | `false` | +| [issue-ignore-any-project-cards](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-any-project-cards-input) | Allow to ignore the processing of issues that contains one of those project cards (multiline). | | +| [issue-only-with-project-cards](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-wih-project-cards-input) | Only allow the processing of issues that contains at least one project card. | `false` | +| [issue-only-any-project-cards](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-any-project-cards-input) | Only allow the processing of issues that contains one of those project cards (multiline). | | +| **Milestones** | | | +| [issue-ignore-all-milestones](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-all-milestones-input) | Allow to ignore the processing of issues that contains any milestones. | `false` | +| [issue-ignore-any-milestones](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-any-milestones-input) | Allow to ignore the processing of issues that contains one of those milestones (multiline). | | +| [issue-only-with-milestones](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-wih-milestones-input) | Only allow the processing of issues that contains at least one milestone. | `false` | +| [issue-only-any-milestones](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-only-any-milestones-input) | Only allow the processing of issues that contains one of those milestones (multiline). | | +| **Comments** | | | +| [issue-stale-comment](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-stale-comment-input) | The comment that will be sent once the issue is stale (keep empty to not send a comment). | | +| [issue-close-comment](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-close-comment-input) | The comment that will be sent once the issue is close (keep empty to not send a comment). | | +| **Durations** | | | +| [issue-days-before-stale](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-days-before-stale-input) | The number of days until the issue is considered as stale. | `30` | +| [issue-add-labels-after-stale](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-add-labels-after-stale-input) | A list of labels added when the processing stale the issue (multiline). | | +| [issue-days-before-close](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-days-before-close-input) | The number of days until a stale issue is considered as closed. | `10` | +| [issue-add-labels-after-close](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-add-labels-after-close-input) | A list of labels added when the processing close the issue (multiline). | | +| **Limiters** | | | +| [issue-limit-api-queries-count](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-limit-api-queries-count-input) | Limit the quantity of API queries calls performed during the processing of issues (`-1` for unlimited). | `-1` | +| [issue-limit-api-mutations-count](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-limit-api-mutations-count-input) | Limit the quantity of API mutations calls performed during the processing of issues (`-1` for unlimited). | `-1` | +| [issue-ignore-before-creation-date](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-ignore-before-creation-date-input) | Allow to ignore the processing of issues that were created before this date ([ISO 8601](https://moment.github.io/luxon/#/parsing?id=iso-8601)). | | +| **Others** | | | +| [issue-processing](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-processing-input) | Allow to process the issues. | `true` | +| [issue-close-reason](https://sonia-stale-action.vercel.app/docs/issues/inputs/issue-close-reason-input) | The reason when closing an issue (`completed` or `not planned`). | `not planned` | ## All the issues outputs -| Output | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| [processed-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/processed-issues-count-output) | The number of issues processed. | -| [ignored-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/ignored-issues-count-output) | The number of issues ignored. | -| [unaltered-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/unaltered-issues-count-output) | The number of issues unaltered (either not good to stale or already stale). | -| [stale-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/stale-issues-count-output) | The number of issues stale. | -| [already-stale-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/already-stale-issues-count-output) | The number of issues processed which were already stale. | -| [remove-stale-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/remove-stale-issues-count-output) | The number of issues from where the stale state was removed. | -| [close-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/close-issues-count-output) | The number of issues closed. | -| [added-issues-comments-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/added-issues-comments-count-output) | The number of added issues comments. | -| [added-issues-labels-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/added-issues-labels-count-output) | The number of added issues labels. | -| [called-api-issues-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/called-api-issues-count-output) | The number of GitHub API calls performed for the issues. | -| [called-api-issues-queries-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/called-api-issues-queries-count-output) | The number of GitHub API queries calls performed for the issues. | -| [called-api-issues-mutations-count](https://sonia-corporation.github.io/stale/docs/issues/outputs/called-api-issues-mutations-count-output) | The number of GitHub API mutations calls performed for the issues. | +| Output | Description | +| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | +| [processed-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/processed-issues-count-output) | The number of issues processed. | +| [ignored-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/ignored-issues-count-output) | The number of issues ignored. | +| [unaltered-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/unaltered-issues-count-output) | The number of issues unaltered (either not good to stale or already stale). | +| [stale-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/stale-issues-count-output) | The number of issues stale. | +| [already-stale-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/already-stale-issues-count-output) | The number of issues processed which were already stale. | +| [remove-stale-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/remove-stale-issues-count-output) | The number of issues from where the stale state was removed. | +| [close-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/close-issues-count-output) | The number of issues closed. | +| [added-issues-comments-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/added-issues-comments-count-output) | The number of added issues comments. | +| [added-issues-labels-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/added-issues-labels-count-output) | The number of added issues labels. | +| [called-api-issues-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/called-api-issues-count-output) | The number of GitHub API calls performed for the issues. | +| [called-api-issues-queries-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/called-api-issues-queries-count-output) | The number of GitHub API queries calls performed for the issues. | +| [called-api-issues-mutations-count](https://sonia-stale-action.vercel.app/docs/issues/outputs/called-api-issues-mutations-count-output) | The number of GitHub API mutations calls performed for the issues. | ## All the pull requests inputs -| Input | Description | Default | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | -| **Labels** | | | -| [pull-request-stale-label](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-stale-label-input) | The label that will be added to the pull request when it is stale. | `stale` | -| [pull-request-ignore-all-labels](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-all-labels-input) | Allow to ignore the processing of pull requests that contains any labels. | `false` | -| [pull-request-ignore-any-labels](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-any-labels-input) | Allow to ignore the processing of pull requests that contains one of those labels (multiline). | | -| **Assignees** | | | -| [pull-request-ignore-all-assignees](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-all-assignees-input) | Allow to ignore the processing of pull requests that contains any assignees. | `false` | -| [pull-request-ignore-any-assignees](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-any-assignees-input) | Allow to ignore the processing of pull requests that contains one of those assignees (multiline). | | -| [pull-request-only-with-assignees](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-with-assignees-input) | Only allow the processing of pull requests that contains at least one assignee. | `false` | -| [pull-request-only-any-assignees](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-any-assignees-input) | Only allow the processing of pull requests that contains one of those assignees (multiline). | | -| **Project cards** | | | -| [pull-request-ignore-all-project-cards](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-all-project-cards-input) | Allow to ignore the processing of pull requests that contains any project cards. | `false` | -| [pull-request-ignore-any-project-cards](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-any-project-cards-input) | Allow to ignore the processing of pull requests that contains one of those project cards (multiline). | | -| [pull-request-only-with-project-cards](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-with-project-cards-input) | Only allow the processing of pull requests that contains at least one project card. | `false` | -| [pull-request-only-any-project-cards](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-any-project-cards-input) | Only allow the processing of pull requests that contains one of those project cards (multiline). | | -| **Milestones** | | | -| [pull-request-ignore-all-milestones](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-all-milestones-input) | Allow to ignore the processing of pull requests that contains any milestones. | `false` | -| [pull-request-ignore-any-milestones](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-any-milestones-input) | Allow to ignore the processing of pull requests that contains one of those milestones (multiline). | | -| [pull-request-only-with-milestones](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-with-milestones-input) | Only allow the processing of pull requests that contains at least one milestone. | `false` | -| [pull-request-only-any-milestones](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-only-any-milestones-input) | Only allow the processing of pull requests that contains one of those milestones (multiline). | | -| **Comments** | | | -| [pull-request-stale-comment](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-stale-comment-input) | The comment that will be sent once the pull request is stale (keep empty to not send a comment). | | -| [pull-request-close-comment](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-close-comment-input) | The comment that will be sent once the pull request is close (keep empty to not send a comment). | | -| **Durations** | | | -| [pull-request-days-before-stale](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-days-before-stale-input) | The number of days until the pull request is considered as stale. | `30` | -| [pull-request-add-labels-after-stale](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-add-labels-after-stale-input) | A list of labels added when the processing stale the pull request (multiline). | | -| [pull-request-days-before-close](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-days-before-close-input) | The number of days until a stale pull request is considered as closed. | `10` | -| [pull-request-add-labels-after-close](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-add-labels-after-close-input) | A list of labels added when the processing close the pull request (multiline). | | -| [pull-request-delete-branch-after-close](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-delete-branch-after-close-input) | Delete the branch when the processing close the pull request. | `false` | -| **Limiters** | | | -| [pull-request-limit-api-queries-count](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-limit-api-queries-count-input) | Limit the quantity of API queries calls performed during the processing of pull requests (`-1` for unlimited). | `-1` | -| [pull-request-limit-api-mutations-count](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-limit-api-mutations-count-input) | Limit the quantity of API mutations calls performed during the processing of pull requests (`-1` for unlimited). | `-1` | -| [pull-request-ignore-before-creation-date](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-before-creation-date-input) | Allow to ignore the processing of pull requests that were created before this date ([ISO 8601](https://moment.github.io/luxon/#/parsing?id=iso-8601)). | | -| [pull-request-ignore-draft](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-ignore-draft-input) | Allow to ignore the processing of pull requests that are drafts. | `false` | -| **Others** | | -| [pull-request-processing](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-processing-input) | Allow to process the pull requests. | `true` | -| [pull-request-close-reason](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-close-reason-input) | The reason when closing a pull request (`completed`' or `not planned`'). | `not planned` | -| [pull-request-to-draft-instead-of-stale](https://sonia-corporation.github.io/stale/docs/pull-requests/inputs/pull-request-to-draft-instead-of-stale-input) | Convert the pull request to a draft pull request instead of handling it as a stale candidate. | `false` | +| Input | Description | Default | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | +| **Labels** | | | +| [pull-request-stale-label](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-stale-label-input) | The label that will be added to the pull request when it is stale. | `stale` | +| [pull-request-ignore-all-labels](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-all-labels-input) | Allow to ignore the processing of pull requests that contains any labels. | `false` | +| [pull-request-ignore-any-labels](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-any-labels-input) | Allow to ignore the processing of pull requests that contains one of those labels (multiline). | | +| **Assignees** | | | +| [pull-request-ignore-all-assignees](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-all-assignees-input) | Allow to ignore the processing of pull requests that contains any assignees. | `false` | +| [pull-request-ignore-any-assignees](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-any-assignees-input) | Allow to ignore the processing of pull requests that contains one of those assignees (multiline). | | +| [pull-request-only-with-assignees](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-with-assignees-input) | Only allow the processing of pull requests that contains at least one assignee. | `false` | +| [pull-request-only-any-assignees](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-any-assignees-input) | Only allow the processing of pull requests that contains one of those assignees (multiline). | | +| **Project cards** | | | +| [pull-request-ignore-all-project-cards](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-all-project-cards-input) | Allow to ignore the processing of pull requests that contains any project cards. | `false` | +| [pull-request-ignore-any-project-cards](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-any-project-cards-input) | Allow to ignore the processing of pull requests that contains one of those project cards (multiline). | | +| [pull-request-only-with-project-cards](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-with-project-cards-input) | Only allow the processing of pull requests that contains at least one project card. | `false` | +| [pull-request-only-any-project-cards](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-any-project-cards-input) | Only allow the processing of pull requests that contains one of those project cards (multiline). | | +| **Milestones** | | | +| [pull-request-ignore-all-milestones](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-all-milestones-input) | Allow to ignore the processing of pull requests that contains any milestones. | `false` | +| [pull-request-ignore-any-milestones](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-any-milestones-input) | Allow to ignore the processing of pull requests that contains one of those milestones (multiline). | | +| [pull-request-only-with-milestones](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-with-milestones-input) | Only allow the processing of pull requests that contains at least one milestone. | `false` | +| [pull-request-only-any-milestones](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-only-any-milestones-input) | Only allow the processing of pull requests that contains one of those milestones (multiline). | | +| **Comments** | | | +| [pull-request-stale-comment](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-stale-comment-input) | The comment that will be sent once the pull request is stale (keep empty to not send a comment). | | +| [pull-request-close-comment](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-close-comment-input) | The comment that will be sent once the pull request is close (keep empty to not send a comment). | | +| **Durations** | | | +| [pull-request-days-before-stale](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-days-before-stale-input) | The number of days until the pull request is considered as stale. | `30` | +| [pull-request-add-labels-after-stale](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-add-labels-after-stale-input) | A list of labels added when the processing stale the pull request (multiline). | | +| [pull-request-days-before-close](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-days-before-close-input) | The number of days until a stale pull request is considered as closed. | `10` | +| [pull-request-add-labels-after-close](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-add-labels-after-close-input) | A list of labels added when the processing close the pull request (multiline). | | +| [pull-request-delete-branch-after-close](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-delete-branch-after-close-input) | Delete the branch when the processing close the pull request. | `false` | +| **Limiters** | | | +| [pull-request-limit-api-queries-count](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-limit-api-queries-count-input) | Limit the quantity of API queries calls performed during the processing of pull requests (`-1` for unlimited). | `-1` | +| [pull-request-limit-api-mutations-count](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-limit-api-mutations-count-input) | Limit the quantity of API mutations calls performed during the processing of pull requests (`-1` for unlimited). | `-1` | +| [pull-request-ignore-before-creation-date](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-before-creation-date-input) | Allow to ignore the processing of pull requests that were created before this date ([ISO 8601](https://moment.github.io/luxon/#/parsing?id=iso-8601)). | | +| [pull-request-ignore-draft](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-ignore-draft-input) | Allow to ignore the processing of pull requests that are drafts. | `false` | +| **Others** | | +| [pull-request-processing](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-processing-input) | Allow to process the pull requests. | `true` | +| [pull-request-close-reason](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-close-reason-input) | The reason when closing a pull request (`completed`' or `not planned`'). | `not planned` | +| [pull-request-to-draft-instead-of-stale](https://sonia-stale-action.vercel.app/docs/pull-requests/inputs/pull-request-to-draft-instead-of-stale-input) | Convert the pull request to a draft pull request instead of handling it as a stale candidate. | `false` | ## All the pull requests outputs -| Output | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| [processed-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/processed-pull-requests-count-output) | The number of pull requests processed. | -| [ignored-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/ignored-pull-requests-count-output) | The number of pull requests ignored. | -| [unaltered-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/unaltered-pull-requests-count-output) | The number of pull requests unaltered (either not good to stale or already stale). | -| [stale-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/stale-pull-requests-count-output) | The number of pull requests stale. | -| [already-stale-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/already-stale-pull-requests-count-output) | The number of pull requests processed which were already stale. | -| [remove-stale-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/remove-stale-pull-requests-count-output) | The number of pull requests from where the stale state was removed. | -| [close-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/close-pull-requests-count-output) | The number of pull requests closed. | -| [deleted-pull-requests-branches-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/deleted-pull-requests-branches-count-output) | The number of deleted pull requests branches closed. | -| [added-pull-requests-comments-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/added-pull-requests-comments-count-output) | The number of added pull requests comments. | -| [added-pull-requests-labels-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/added-pull-requests-labels-count-output) | The number of added pull requests labels. | -| [draft-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/draft-pull-requests-count-output) | The number of pull requests converted to draft. | -| [called-api-pull-requests-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/called-api-pull-requests-count-output) | The number of GitHub API calls performed for the pull requests. | -| [called-api-pull-requests-queries-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/called-api-pull-requests-queries-count-output) | The number of GitHub API queries calls performed for the pull requests. | -| [called-api-pull-requests-mutations-count](https://sonia-corporation.github.io/stale/docs/pull-requests/outputs/called-api-pull-requests-mutations-count-output) | The number of GitHub API mutations calls performed for the pull requests. | +| Output | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- | +| [processed-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/processed-pull-requests-count-output) | The number of pull requests processed. | +| [ignored-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/ignored-pull-requests-count-output) | The number of pull requests ignored. | +| [unaltered-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/unaltered-pull-requests-count-output) | The number of pull requests unaltered (either not good to stale or already stale). | +| [stale-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/stale-pull-requests-count-output) | The number of pull requests stale. | +| [already-stale-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/already-stale-pull-requests-count-output) | The number of pull requests processed which were already stale. | +| [remove-stale-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/remove-stale-pull-requests-count-output) | The number of pull requests from where the stale state was removed. | +| [close-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/close-pull-requests-count-output) | The number of pull requests closed. | +| [deleted-pull-requests-branches-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/deleted-pull-requests-branches-count-output) | The number of deleted pull requests branches closed. | +| [added-pull-requests-comments-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/added-pull-requests-comments-count-output) | The number of added pull requests comments. | +| [added-pull-requests-labels-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/added-pull-requests-labels-count-output) | The number of added pull requests labels. | +| [draft-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/draft-pull-requests-count-output) | The number of pull requests converted to draft. | +| [called-api-pull-requests-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/called-api-pull-requests-count-output) | The number of GitHub API calls performed for the pull requests. | +| [called-api-pull-requests-queries-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/called-api-pull-requests-queries-count-output) | The number of GitHub API queries calls performed for the pull requests. | +| [called-api-pull-requests-mutations-count](https://sonia-stale-action.vercel.app/docs/pull-requests/outputs/called-api-pull-requests-mutations-count-output) | The number of GitHub API mutations calls performed for the pull requests. | ## Examples -Checkout the [documentation](https://sonia-corporation.github.io/stale/docs/introduction) to have some examples. +Checkout the [documentation](https://sonia-stale-action.vercel.app/docs/introduction) to have some examples. ## Changelog -See all the changes on the [website](https://sonia-corporation.github.io/stale/docs/changelog). +See all the changes on the [website](https://sonia-stale-action.vercel.app/docs/changelog). ## Contributing