Code Monkey home page Code Monkey logo

action-clean's People

Contributors

aroller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

action-clean's Issues

Error when cleaning directory in workflow with action-clean v1.1.1

Hello ๐Ÿ‘‹
We have a mysterious error when cleaning the directory in our workflows with this action (using version 1.1.1):
grafik

We're using the action in this way:

    steps:
      - name: Clean Directory
        uses: AutoModality/[email protected]

(Can't link to our workflow bc we only have private repos)

Can someone help with that? I'm not really sure where this error comes from.

Have a good day โœŒ๏ธ

rm: cannot remove 'README.md': Permission denied

Hi!
I tried to do something similar to prevent self-hosted runners from filling up the filesystem and came across your action.

If I use the action I am getting a permission denied error on trying to remove the files. Apparently the docker run does not have sufficient access to the _work dir.
Can this be fixed somehow?

Action log from my workflow:

rm: cannot remove 'Dockerfile': Permission denied
rm: cannot remove 'README.md': Permission denied

Proposal:
Add a cleanup.sh to the image with the rm -rf command and call the cleanup.sh in the action.yml via run.post-entrypoint: '/cleanup.sh'. This ensures that the cleanup task is always run after the workflow is done, wether it fails or not.

Error: docker: command not found

Build container for action use: '/home/vschem/actions-runner/_work/_actions/AutoModality/action-clean/v1.1.0/Dockerfile

I am not running this workflow action in a docker environment. Plain old Ubuntu 20.04 LTS system.

v1 tagged not bumped to latest v1.x

The v1 tag is still pointing to v1.0.0 commit. The convention for actions is that v1 tag points to the lastest minor version of the same major version, e.g. v1.1.0.

Requires docker login?

While running the action-clean github action, I noticed that it failed because I needed to login to docker. Is this truly the case? I've run it plenty of times before without logging into docker, so it just confused me and caught me off guard. I'm logging into docker for other jobs, but I wasn't aware of this requirement.

Screen Shot 2021-12-29 at 6 24 12 PM

Btw really love this action -- was a PITA getting "permission" errors beforehand.

Support for mac os

Currently this actions doesn't work on mac os runner. It fails with next error:

Error: Container action is only supported on Linux

Is it possible to add support mac os?

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.