36 Commits

Author SHA1 Message Date
Anupam 029d95066b add delete-only-untagged-versions param (#94)
Add a new boolean parameter to action `delete-only-untagged-versions`. When true, only versions that do not have any tags will be deleted.
2023-03-03 16:42:34 +05:30
Anupam b9ed39f728 Configure baseUrl in octokit initialisation (#91)
Make the action work for GHES by passing `GITHUB_API_URL` environment variable to octokit initialisation.
2023-03-02 19:56:14 +05:30
Anupam 23073eb4a2 add more UTs, delete ununsed files 2022-12-30 20:03:11 +00:00
Anupam 0b99e5f60d Fix prettier errors 2022-12-30 13:10:17 +00:00
Nishtha Gupta 9dbafb83da Remove repo param support & logs 2022-12-29 15:51:31 +05:30
Nishtha Gupta 64305dab94 Optimisation 2022-12-29 15:35:31 +05:30
Nishtha Gupta e95cd87648 Fetch all versions at once 2022-12-29 14:43:48 +05:30
Anupam 7f4037254e add some logs 2022-12-28 18:32:12 +00:00
Anupam e521d9e753 get versions using rest 2022-12-28 14:43:50 +00:00
Anupam cc7196aa1d try to fix npm run pack? 2022-12-28 14:39:47 +00:00
Nishtha Gupta 92bd8a3cd0 First commit with delete version API 2022-12-28 16:33:42 +05:30
Ralf Stuckert 7515f7a4f9 #66 Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!) 2022-03-01 07:44:01 +01:00
Namrata Jha 5263253279 upgrade eslint and fix breaking changes 2022-02-15 13:52:11 +00:00
Namrata Jha 72cc4b27b0 update tests 2021-12-23 17:41:07 +00:00
Namrata Jha 81676df338 add comments 2021-12-23 13:01:35 +00:00
Namrata Jha cfbae0ac37 remove excess logs 2021-12-23 09:46:46 +00:00
Namrata Jha f556b07dce check error 2021-12-23 08:41:06 +00:00
Namrata Jha 1a7a0291b8 RATE_LIMIT=100 2021-12-22 19:21:20 +00:00
Namrata Jha 38d4003d57 Merge branch 'improve-existing-action' of https://github.com/actions/delete-package-versions into improve-existing-action 2021-12-22 19:18:26 +00:00
Namrata Jha bf6c02443a run with RATE_LIMIT=100 2021-12-22 19:09:58 +00:00
Namrata Jha e9faf3233c check rate limit 2021-12-22 16:17:44 +00:00
Namrata Jha 9ff1e31776 use promise for rate limit 2021-12-22 16:05:18 +00:00
Namrata Jha 0739cce1e8 use tap 2021-12-22 15:49:48 +00:00
Namrata Jha ef5d9ac398 add logs 2021-12-22 15:45:39 +00:00
Namrata Jha 1369f0ca05 fix ratelimit query 2021-12-22 15:33:41 +00:00
Namrata Jha 372546727d add error handling 2021-12-22 15:30:35 +00:00
Namrata Jha 324039ba0a logs to check rate limit 2021-12-22 15:22:21 +00:00
Namrata Jha 508f6970a5 bypass rate limit 2021-12-22 09:59:18 +00:00
Namrata Jha e6a9d9c802 set RATE_LIMIT=99 2021-12-21 18:52:10 +00:00
Namrata Jha 75db2288ca intermitent failed delete mutations logs 2021-12-21 16:19:51 +00:00
Namrata Jha 04947a51f3 fix logs 2021-12-20 09:21:35 +00:00
Namrata Jha 263c5d855a logs to check rate limiting 2021-12-20 08:37:14 +00:00
Namrata Jha 93d3863084 add paging 2021-12-14 15:51:31 +00:00
Namrata Jha 8d3af2ed69 fix package not found error 2021-11-17 10:17:38 +00:00
eric sciple f4a606f9ac Use @actions/github@2.2.0 to invoke GraphQL for GHES compatibility 2020-05-13 20:24:25 -04:00
Trent Jones 54b504899d Releases/v1 (#1)
* delete package versions action v1

* updated action for build and smoke test

* test and error message update

* test fix

* ci testing

* ci testing

* ci testing

* ci testing

* ci test

* ci testing

* ci test name

* docs

* docs

* docs

* test

* test

* test

* docs

* usage doc

* doc

* docs

* format test

* doc update

* doc test

* formatting check

* scenario update

* usage update

* format

* test

* test

* test

* test

* test

* table test

* test

* format update

* links

* test

* test

* test

* test

* test

* docs update

* test

* formatting

* fix broken links

* doc update

* test

* table test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* doc test

* test

* test

* test

* test

* test

* test

* test

t

* test

* test

* test

* test

* test

* test

* docs

* doc update
2020-02-29 19:33:20 -06:00