20 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
46653ba3cb restrict to RATE_LIMIT with package-version-ids 2023-01-05 10:25:21 +00:00
Anupam
2de4236b17 Address review coments 2023-01-03 16:35:40 +00:00
Anupam
23073eb4a2 add more UTs, delete ununsed files 2022-12-30 20:03:11 +00:00
Anupam
90c8dc6d0b better UT for deletePackageVersions 2022-12-30 08:13:23 +00:00
Anupam
98c1e7eab7 add api UTs 2022-12-30 05:12:10 +00:00
Nishtha Gupta
9dbafb83da Remove repo param support & logs 2022-12-29 15:51:31 +05:30
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
Namrata Jha
aac34a9f33 update tests 2021-12-23 18:53:16 +00:00
Namrata Jha
72cc4b27b0 update tests 2021-12-23 17:41:07 +00:00
Namrata Jha
d846be5128 add unit tests 2021-12-21 09:29:12 +00:00
Namrata Jha
a22ff2a7c5 add delete limit of 100 2021-12-16 07:02:21 +00:00
Namrata Jha
1f8196ebbc update test 2021-11-08 07:55:55 +00:00
Namrata Jha
398a50a9bf update test 2021-11-08 07:52:02 +00:00
Namrata Jha
18061036ba keep min package versions from deletion 2021-11-08 07:25:16 +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
Chris Patterson
91c0d1036c Initial commit 2020-01-29 10:13:06 -05:00