Callisto13 / metal-janitor-action

Clean-up your Equinix Metal projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

Clean-up your Equinix Metal projects.

License:Apache License 2.0


Languages

Language:Go 93.6%Language:Makefile 4.0%Language:Dockerfile 2.4%