Giter VIP home page Giter VIP logo

delete-package-versions-keep-latest's Introduction

delete-package-versions-keep-latest's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar windyakin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

delete-package-versions-keep-latest's Issues

Add minimum age condition

Thanks for this action. It is almost exactly what I need.

I need an additional minimum-days-before-deletion condition (from release date). If both of these conditions are met, the package is deleted. Default can be 0 to not break existing functionality.

Is it possible to add?

Type mismatch on variable $packageVersionId and argument packageVersionId

Hi @windyakin,

I'd like to use this action to remove npm and maven artifacts from a private repository and got the following error:

`Error: Request failed due to following response errors:

  • Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)
  • Type mismatch on variable $packageVersionId and argument packageVersionId (String! / ID!)
    at /home/runner/work/_actions/windyakin/delete-package-versions-keep-latest/v1/dist/index.js:2394:13
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
    ...`

I searched a bit in the internet and found a pretty similar issue here:
actions/delete-package-versions#67

Could this be related? A fix seems to be applied by this:
https://github.com/actions/delete-package-versions/pull/67/commits

Please have a look and Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.