kuznetsss / workspace-cleanup

Simple github action to clean workspace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workspace cleanup action

A simple GitHub Action to clean up your workspace.

The action will delete all files and folders in the workspace, including the files starting with a dot.

The action will check that the workspace is not the root of the filesystem before deleting anything.

Usage

The action can be used in a workflow like this:

steps:
  - uses: kuznetsss/workspace-cleanup@1
  - uses: actions/checkout@v4

Of course it should be used before checkout.

About

Simple github action to clean workspace

License:MIT License