Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Delete clean Gitpod workspaces

Actions
GitHub action to delete non-running, clean Gitpod workspaces
v1.0
Star (0)

Gitpod Workspace Cleanup - GitHub Action

This GitHub Action is designed to manage Gitpod workspaces. It automatically deletes workspaces that are stopped and do not have any uncommitted or untracked file changes.

Note

GITPOD_TOKEN: Required. The access token for Gitpod API. Learn more.

Usage

Demo repository

name: Delete clean Gitpod workspaces weekly

on:
  workflow_dispatch:
  schedule:
    - cron: '0 9 * * MON' # At 9 AM UTC, weekly only on Monday

jobs:
  delete-clean-workspaces:
    name: Clean Gitpod workspaces weekly
    runs-on: ubuntu-latest
    steps:
      - name: Delete clean Gitpod workspaces
        uses: Siddhant-K-code/delete-clean-workspaces@v1.0
        with:
          GITPOD_TOKEN: ${{ secrets.GITPOD_PAT_TOKEN }}

Delete clean Gitpod workspaces is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub action to delete non-running, clean Gitpod workspaces
v1.0

Delete clean Gitpod workspaces is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.