2.5.0 (2023-03-02)
- typo: add missing plural on "pull request" (35fbd8e)
- github-token: add more details about the required permissions (#1008) (05055f8)
- github-token: add more details about the required permissions (fa002fa), closes #1006
2.4.0 (2022-09-04)
- docs: auto-collapse the categories in the sidebar and add a button to allow to hide it (5b58019)
- issues: add new input
issue-remove-labels-after-close
(7d8e170), closes #859 When closing an issue, you can now remove some extra labels. This might be specifically handy if you want to remove the stale label to "clean" the closed issue. - prs: add new input
pull-request-remove-labels-after-close
(87e990b), closes #859 When closing a pull request, you can now remove some extra labels. This might be specifically handy if you want to remove the stale label to "clean" the closed pull request. - logs: improve the logger messages for the schemas checks (70f504d)
- github: perform a GraphQL schematics validation before processing (f7b6df6), closes #855 This run will check every existing schema to ensure that queries and mutations are valid. If not, the processing will throw. This will help us ensure there is no issue and favor a fail-fast approach to fix potential issues ASAP.
2.3.2 (2022-08-31)
- prs: remove the input
pull-request-close-reason
(bfde171), closes #890 The GitHub API do not actually propose such feature.
2.3.1 (2022-08-31)
- issues: fix closing issues bug due to the close reason feature (98fa64b), closes #886 This issue is present since the version 2.0.0.
2.3.0 (2022-08-30)
- statistics: fix a typo in wording in the statistics website page (dfb9e38)
- issues: add new input
issue-remove-labels-after-stale
(65979f7), closes #858 This new input will let you remove some label(s) when the stale occur on issues. - prs: add new input
pull-request-remove-labels-after-stale
(f7890b1), closes #858 This new input will let you remove some label(s) when the stale occur on pull requests. - outputs: add new outputs
removed-issues-labels-count
andissues-labels-count
(1b9ae0b), closes #858 - outputs: add new outputs
removed-pull-requests-labels-count
andpull-requests-labels-count
(ff3f686), closes #858 - stats: add new stats about the removed issues labels (929efa7), closes #858
- stats: add new stats about the removed pull requests labels (ccf4e1b), closes #858
2.2.0 (2022-08-26)
- website: add a new page to explain the migration from v1 to v2 (dea3137), closes #837
- footer: change the link of the changelog (930afa0), closes #864 The new one will directly navigate to the docs changelog instead of the GitHub changelog.
- inputs: reorder the added labels after close or stale (256463d), closes #839
2.1.0 (2022-08-24)
- blog: add a new blog entry to explain the migration to Vercel (33cad40), closes #842
- website: configure Sentry (b221ce4), closes #843
- changelog: improve the readability of the changelog (cd5cc09), closes #836 Add more blank lines.
- website: replace all the website links to the new one (9251f7f), closes #842 From GitHub pages to Vercel.
2.0.0 (2022-08-23)
- close-reason: add new inputs
issue-close-reason
andpull-request-close-reason
(d813b45), closes #779 Those inputs allow you to specify the reason for closing an item.
- close-reason: The close reason will now be by default 'NOT_PLANNED' instead of 'COMPLETED' since it makes more sense. If you want to change the new default behavior, you can use these inputs: issue-close-reason: 'completed' pull-request-close-reason: 'completed'
1.61.0 (2022-08-22)
- issues: add new input
issue-only-with-milestones
(8083fa8), closes #808 This new input allows to only process issues containing at least one milestone. - prs: add new input
pull-request-only-with-milestones
(d9e240f), closes #808 This new input allows to only process pull requests containing at least one milestone.
1.60.0 (2022-08-21)
- issues: add new input
issue-only-with-project-cards
(2c4290e), closes #807 This new input allows to only process issues containing at least one project card. - prs: add new input
pull-request-only-with-project-cards
(2ff0851), closes #807 This new input allows to only process pull requests containing at least one project card.
1.59.0 (2022-08-20)
1.58.0 (2022-08-09)
- issues: add new input
issue-only-with-assignees
(#772) (aeebf82), closes #313 This new input allows to only process issues containing at least one assignee. - prs: add new input
pull-request-only-with-assignees
(#775) (63d69b0), closes #313 This new input allows to only process pull requests containing at least one assignee.
1.57.1 (2022-06-30)
- deps: update dependency prism-react-renderer to v1.3.3 (#686) (873bda5) Co-authored-by: Renovate Bot [email protected]
1.57.0 (2022-04-18)
- inputs: add new inputs to only process items with specific assignees (2fc8bda), closes #559
Add the input
issue-only-any-assignees
. Add the inputpull-request-only-any-assignees
. You can use them to only process issues and PRs which have one of the specified assignee(s).
1.56.0 (2022-04-17)
- inputs: allow to override the default values of the ignore any milestones inputs (ca9de12) The configuration was missing from the action.yml.
- prs: add new input to ignore all milestones (a492a64), closes #520
Add the
pull-request-ignore-all-milestones
input. If a pull request has a milestone, it will be ignored from the processing.
1.55.0 (2022-04-13)
- issues: add new input to ignore all milestones (29d8724), closes #519
Add the
issue-ignore-all-milestones
input. If an issue has a milestone, it will be ignored from the processing.
1.54.0 (2022-04-03)
- prs: add new input to ignore any milestones (769448b), closes #518
Add the
pull-request-ignore-any-milestones
input.
1.53.0 (2022-04-02)
- issues: add new input to ignore any milestones (8128bd1), closes #517
Add the
issue-ignore-any-milestones
input.
1.52.0 (2022-03-03)
- input: add new inputs to ignore any project cards (#551) (ba79907)
Add the
issue-ignore-any-project-cards
input. Add thepull-request-ignore-any-project-cards
input. In addition of the existing input to ignore when a project card is present, now you can choose a white-list instead. Any item process that belong to those project cards will be ignored. Closes #165
1.51.0 (2022-02-20)
- milestone: add new input
pull-request-only-any-milestones
(6b9aa5a), closes #516 This new input will let you process only the pull requests that contains one of the specified milestone.
1.50.0 (2022-02-20)
- milestone: add new input
issue-only-any-milestones
(8d3fffd), closes #310 This new input will let you process only the issues that contains one of the specified milestone.
1.49.0 (2022-02-19)
- troubleshooting: add a new page to help troubleshooting (c67dc84) Including information about GitHub token missing permissions.
- api-count: add info block to explain that a negative count disable the inputs (ac54236) Using -X for the API queries and mutations count will just disable the feaure.
- github-token: add information about the required permissions (63fb15b) Also explain how the token is used under the hood.
- troubleshooting: add more tips (975f2d7)
- cache: add the "Cache" tag for all docs pages related to cache topics (7b401b7)
- fix: fix 2 typos in the 1.48.0 changelog (4145e7b)
1.48.0 (2022-02-19)
- cache: mention in the docs where and why there is some cache (9ce0445)
- logs: avoid showing a success log on error while fetching a label (26c07bf), closes #507 When a label could not be found, a log saying the label was loaded was display. It was misleading, and now it's no longer shown on error.
- cache: cache the fetching of labels to reduce the amount of API calls (9b78d0d), closes #270 Every request to fetch a single label, like the stale one, will be cached for the whole workflow. This may reduce drastically the number of API calls made to GitHub. The limits related to your GitHub token will like this.
1.47.0 (2022-02-15)
- workflow-testing: add a section to explain how to enable the actions step debug (c81331d)
- logs: add more logs to debug the project card features (ec9d2ce), closes #498
- logs: log the item data before processing (debug) (2c73a90) This will expose the content fetched from GitHub, which can be helpful to debug.
1.46.0 (2022-02-13)
- logs: hide the sub-statistics when the count is 0 (13e2bb1), closes #477 It will simply avoid polluting the logs with empty counts.
- annotations: add references to the root cause of the error annotations (6124e3e), closes #457 See AnnotationProperties in https://github.com/actions/toolkit/tree/main/packages/core.
- annotations: add references to the root cause of the warning annotations (4cc9b0c), closes #484 See AnnotationProperties in https://github.com/actions/toolkit/tree/main/packages/core.
1.45.0 (2022-02-13)
- footer: add a link on the footer to get some help (4619a5a), closes #469
- badge: add a new page to show our badge (93e8f80), closes #456
- blog: add new entry to explain the change of UI (396c1a3)
- readme: add the sonia changelog badge (e4d529d)
- readme: add the sonia stale badge (2ae6eff)
- ui: change the brand name and the color scheme to follow Sonia style (3ce0536), closes #473 The Sonia corporation is a big joke, it's not a corporation and is only about open-source stuff. But having consistency between the different apps is cool, hence this change. I am not fond of the pink colour, but whatever I am just bad regarding the design.
- prs: add new input
pull-request-only-any-project-cards
(ad82fd8), closes #416 This new input allow to only process prs belonging to specific projects. You can link your prs to a project card. Pass as a multi-line input the names of your projects. When this input is set, all prs without a project card will not be processed.
1.44.0 (2022-02-11)
- add @iainlane as a contributor (aac06f5)
- add @Sonia-corporation-bot as a contributor (c73b937)
- readme: add a link to the changelog (ecc7c62), closes #414
- need-help: add a new page to explain how to get some help (1d148e9), closes #415
- annotations: add a new page to explain what are the annotations (c37a183), closes #448 Explain what to expect to find with the notices, warnings and errors.
- blog: add new blog post to introduce the first inclusive input (f40b60f), closes #458
- outputs: add tip about annotations (36c7378), closes #447
- stats: add tip about annotations (3923187)
- update @C0ZEN as a contributor (578ed8c)
1.43.2 (2022-02-10)
- deps: update dependency prism-react-renderer to v1.3.1 (#425) (f4eae39) Co-authored-by: Renovate Bot [email protected]
1.43.1 (2022-02-09)
- logs: properly count the number of processed items within all batches in the logs (8a17a18), closes #431 Only the first batch was taken into consideration. The information was lost during the recursion of batches processing.
1.43.0 (2022-02-09)
1.42.1 (2022-02-09)
- annotations: format properly the errors annotations (13bcd6a), closes #422
- annotations: format properly the warning annotations (469609c), closes #422
- annotations: remove every existing notice annotations (3c3a2d5), closes #422 The logs were not static - including some variables - and were broken due to the colours.
1.42.0 (2022-02-08)
- examples: add a multiple-cron jobs example (d57bc19)
- website: add more tags to existing docs pages (4c92a80)
- readme: fix broken links to inputs inside the readme (2252af8)
- issues: add new input
issue-only-any-project-cards
(8650e12), closes #312 #412 This new input allow to only process issues belonging to specific projects. You can link your issues to a project card. Pass as a multi-line input the names of your projects. When this input is set, all issues without a project card will not be processed. Note: this is the first input of this genre, but may not be the last based on people needs!
1.41.0 (2022-02-06)
1.40.0 (2022-02-05)
- fix: fix wrong configuration examples (98ca681)
1.39.0 (2022-02-05)
- prs: add new input
pull-request-limit-api-mutations-count
(5559871), closes #389 Before processing each pull request, the workflow will check if the input is enabled. If this is the case, the processing may stop if the statistics for mutations are higher than the limit.
1.38.0 (2022-02-05)
- issues: add new input
issue-limit-api-mutations-count
(14b034a), closes #376 Before processing each issue, the workflow will check if the input is enabled. If this is the case, the processing may stop if the statistics for mutations are higher than the limit.
1.37.0 (2022-02-02)
- issues: add new input
issue-limit-api-queries-count
(db5effb), closes #254 Before processing each issue, the workflow will check if the input is enabled. If this is the case, the processing may stop if the statistics for queries are higher than the limit. - prs: add new input
pull-request-limit-api-queries-count
(ee9a293), closes #254 Before processing each pull request, the workflow will check if the input is enabled. If this is the case, the processing may stop if the statistics for queries are higher than the limit.
1.36.0 (2022-02-01)
1.35.0 (2022-01-31)
- website: add new pages to list the outputs (54f33b0)
- website: put the issues and prs inputs into an inputs folder (c338ab7) This will impact all the URLs to add inputs/ in their names
1.34.0 (2022-01-29)
- deps: update docusaurus monorepo to v2.0.0-beta.15 (patch) (#358) (5bfd537) Co-authored-by: Renovate Bot [email protected] Co-authored-by: TESTELIN Geoffrey [email protected]
- outputs: add 6 new outputs to expose the api calls (7d85f17)
Add
called-api-issues-count
Addcalled-api-issues-queries-count
Addcalled-api-issues-mutations-count
Addcalled-api-pull-requests-count
Addcalled-api-pull-requests-queries-count
Addcalled-api-pull-requests-mutations-count
- stats: add statistics about mutations and queries from the API (3ddd3ca)
- website: change the color palette (6d483e5)
- logs: display the total of stats for mutations and queries API calls (86261dd) Created a nested view
1.33.1 (2022-01-24)
1.33.0 (2022-01-24)
- statistics: always count the statistics even in dry-run (cbc41eb), closes #323 This will come particuly useful to know what is to be expected from the dry-run. Newcomers can really take advantage of this feature now.
1.32.0 (2022-01-23)
- website: add a new page to explain how the statistics can be helpful (ae85a4f), closes #331
- website: change some references of inputs to link to the website (11f2e62) Also apply the changes in the readme
- deps: update dependency @mdx-js/react to v1.6.22 (c624394)
- deps: update react monorepo to v17.0.2 (ad3fc8f)
1.31.0 (2022-01-22)
- website: add explicit docs for every pull requests inputs (566376d)
- website: add explicit docs for every issues inputs (12af4f5)
1.30.0 (2022-01-19)
- labels: add new input to add extra labels after closing an item (f58a86b), closes #213
The input
issue-add-labels-after-close
andpull-request-add-labels-after-close
were added. You can now define a list of extra labels to add when the processing close an item.
1.29.0 (2022-01-19)
- outputs: add draft pull requests count output (675faea)
Add the
draft-pull-requests-count
output. Add a new statistic to count the number of pull requests converted to draft. - draft: add new input to convert a pull request to draft instead of stale (1efadfb), closes #275
The input
pull-request-to-draft-instead-of-stale
was added. When enabled, the processing will no longer stale. It will instead convert the pull request to a draft. No stale label added, no stale comment added nor extra labels added.
1.28.0 (2022-01-18)
- processing: add new input to enable or disable the processing (b57eac0), closes #277
Add the
issue-processing
andpull-request-processing
inputs. When enabled, the processing occurs as expected. When disabled, the processing will be skipped.
1.27.1 (2022-01-12)
- stale: add in last the stale label to avoid removing the stale the next run (cb7257d) add the stale comment and the extra labels before adding the stale label this will avoid an issue with the update date being more recent than the stale label addition date
- deps: update dependency luxon to v2.3.0 (b3f91a7)
1.27.0 (2022-01-10)
- logs: add a log when a statistic is increased (3885885) Showing by how many the count was increased and also showing the new total count
- stats: add a new statistic for the number of issue added labels (4805b65)
- stats: add a new statistic for the number of PR added labels (ef5edab)
- label: add new inputs to add extra labels after marking as stale (39433b0)
Added the
issue-add-labels-after-stale
input Added thepull-request-add-labels-after-stale
input - outputs: add new outputs for the count of added labels (397a712)
1.26.0 (2022-01-02)
- logs: add counts in the batches and processed items logs (2022cf0)
- pull-request: add new input
pull-request-delete-branch-after-close
(cc53931) When a pull request is closed by the processing, if the option is enabled and the dry-run is disabled, the related branch will be removed A new output was also added to track the number of deleted pull request branches
1.25.1 (2022-01-01)
- processing: fix an issue with infinite batches processing (218f164) if the number of issues or pull requests to process was higher than 20, the processing was ending up in a infinity loop this was due to a missing parameter from the endpoint request "endCursor" which was not requested and so, leading to undefined value when the cursor is undefined, the first batch is processed hence the infinity loop
1.25.0 (2022-01-01)
- pull-request: add new input
pull-request-ignore-draft
(639e9ba) a pull request in draft can now be ignored from the processing
- fix jest performances issues when running locally (cb4a833)
1.24.0 (2021-12-16)
- pr: add new inputs to support pull requests processing (ab8f8a0) this is the same implementation than the issues inputs from this point, issues and pull requests have the exact same options and features and this is closing the alpha state off this action
1.23.0 (2021-12-11)
- deps: update dependency luxon to v2.2.0 (03b420a)
- issue: add new input "issue-ignore-all-project-cards" (91193f2)
1.22.0 (2021-12-07)
- debug: add more logs to debug in case a label does not exist in your repo (0c00efb)
1.21.0 (2021-12-06)
- issue: add new input issue-close-comment to comment on close (a026020)
1.20.0 (2021-12-05)
- issue: add new input issue-stale-comment to comment on stale (1a4abcd)
1.19.0 (2021-12-05)
- issue: add new option to ignore some assignees (6876cfd)
1.18.0 (2021-11-22)
- issue: add new input to ignore the process base on the creation date (10b4b64)
1.17.0 (2021-11-21)
- issue: add new input to ignore issues with assignees (a1c168b)
1.16.0 (2021-11-20)
- issue: avoid closing issues on dry-run mode (b93d952)
1.15.0 (2021-11-20)
- outputs: add closed issues count output (aeeb72e)
- stats: add stats about the number of closed issues (de3d98c)
- issue: close stale issues (e7f9a54)
1.14.0 (2021-11-20)
- issue: add new input to ignore the process when a label is on an issue (9c118dc)
1.13.0 (2021-11-18)
- label: use a better search to find the stale label to avoid mismatch (73148bd)
1.12.0 (2021-11-15)
- outputs: add some outputs to this action (6c8390f)
1.11.0 (2021-11-15)
- stats: add a statistics regarding the unaltered issues (acca942)
- issue: use the most recent added stale label event for the check (36e21fd)
1.10.0 (2021-11-14)
- logs: add statistics in the logs (90fbb7a)
1.9.0 (2021-11-14)
- logs: display the api services logs with the issue prefix (6b35fe8)
- logs: improve the issue logger to always add the issue id as a prefix (b6390da)
- issue: remove the stale label from the issue when no longer stale (c128375)
- issue: remove the stale label when the creation date of the label is sooner than the update date (b66d9b3)
- logs: round the difference of days in the logs (6801ee5)
- issue: stop processing an issue already stale (3dbd799)
1.8.0 (2021-11-13)
- issue: add new input issue-days-before-close to customize the number of days before closing a stale issue (ed43be6)
1.7.0 (2021-11-13)
- issue: add a new input "issue-days-before-stale" to choose when to stale (2e92099)
1.6.1 (2021-11-13)
- dry-run: ignore the stale label addition in dry-run mode (8fe45d2)
1.6.0 (2021-11-12)
- issue: add new input issue-ignore-any-labels to ignore the processing of issues with specific labels (1c4307d)
1.5.0 (2021-11-12)
- labels: add a new feature to add a label to an issue (f93639d)
- labels: add a new feature to get a label from the repository (06eb94e)
- issue: add a new option "issue-stale-label" to define the label to use when an issue is stale (b8a54a8)
- stale: add a stale label on issue not updated since 30 days (ffd6c76)
- logs: add logs for the stale label (b57de32)
- stale: stale locally the issues older than 30 days (c5af87c)
1.4.0 (2021-11-09)
- logs: add a log when the process start (ec78887)
- issues: add pagination (4c1395b)
- logs: highlight the number of fetched issues (df09f18)
1.3.0 (2021-11-07)
- issue: display the issue link in purple (a8f4687)
- log: display the proper end of tree symbol when logging the inputs (0b53d66)
- issue: skip if locked (05325a1)
1.2.0 (2021-11-07)
- logs: add more logs to track the processing (80afa14)
- dry-run: add new input dry-run and remove the required github-token (71ad840)
1.1.0 (2021-11-06)
- issues: fetch the issues to process and log the id (9c79555)
- issues: log on error while fetching the issues (495425f)