Metal Janitor Action
A GitHub Action to cleanup Equinix Metal projects.
Inputs
metal-auth-token
Required The Equinix Metal API token to use. See the docs for further information on API keys.
project-names
Required The names of the Equinix Metal projects to cleanup.
You can specify multiple projects to cleanup by comma separating them. Projects will be cleanup up in the order specified: For example: projecta,projectb
.
You can delete all projects by using the value DELETEALL.
Example Usage
jobs:
cleanup:
runs-on: ubuntu-latest
name: Cleanup projects
steps:
- name: Cleanup projects
uses: weaveworks/metal-janitor-action@v0.1.0
with:
metal-auth-token: ${{ secrets.METAL_AUTH_TOKEN }}
project-names: 'project1,project2'