wow-actions / delete-stale-releases Goto Github PK
View Code? Open in Web Editor NEW๐๏ธ Automatically delete stale releases
License: MIT License
๐๏ธ Automatically delete stale releases
License: MIT License
The action execution is failing, and I get the following log line and then a big dump of JavaScript code.
/home/runner/work/_actions/wow-actions/delete-stale-releases/v1.2.3/dist/index.js.cache.js:14
The action executes and deletes the releases according to configuration.
The execution fails, the log line mentioned above is printed together with a dump of JavaScript code.
'*rc*'
is a regex to match specific releases).
- name: Delete GitHub release candidates
id: delete-github
uses: wow-actions/[email protected]
with:
key: name
include: '*rc*'
include_prerelease: true
include_draft: true
delete_tags: true
Log file: action-execution-log.txt
I'm trying to run the action. It used to work before and it stopped working at some point.
Action is running on GitHub actions ubuntu-latest
.
In my environment, release v1.2.1
works correctly and the issue reported here starts to happen as of release v1.2.2
.
Thanks for this action, I haven't found another action that can do pattern matching for cleaning up releases and tags.
After cleaning up releases and tags that aren't needed anymore, I would also like to clean up other artefacts that are tagged in the same way. For example docker containers and other application packages that were generated in PRs and are not longer relevant after the PR is closed. To do that it would be awesome if this action would export the filtered releases and associated tags as outputs. There could be two lists, one with releases and one with tags.
The action makes available two outputs, one with the list of releases that were deleted from the repository, and another with the list of associated tags.
Collect the lists, and then print them out using github actions output.
I'm not sure what else I could add, but it there's anything I will be happy to update this feature request.
Hi
I would like to use your repo as part of my deployments but I am getting the next error message:
(node:1608) UnhandledPromiseRejectionWarning: HttpError: Reference does not exist
at /home/runner/work/_actions/bubkoo/delete-stale-releases/v1.0.6/dist/index.js.cache.js:1:79927
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:1608) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1608) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I am using the next inputs:
with:
github_token: ***
keep_latest_count: 1
delete_tags: true
key: name
include_draft: true
include_prerelease: true
Can you please help me to resolve it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.