Skip to content

Commit 84a76a2

Browse files
fix action desc
1 parent 06cb5ca commit 84a76a2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
> [!NOTE]
2+
> This is for [Gitpod Flex](https://app.gitpod.io), if you are using [Gitpod Classic](https://www.gitpod.io) (PAYG), please refer to the [Gitpod Classic Environment Cleanup Action](https://github.com/marketplace/actions/delete-clean-gitpod-workspaces)
3+
14
# Gitpod Environment Cleanup Action
25

36
Automatically clean up stopped Gitpod environments that are older than a specified number of days and have no pending changes. This action helps maintain a clean workspace and manage resource usage in your Gitpod Flex organization.
47

8+
> [!IMPORTANT]
9+
> `GITPOD_TOKEN`: Required. [Learn more](https://www.gitpod.io/docs/flex/integrations/personal-access-token) about how to create a Gitpod Personal Access Token in Gitpod Flex.
10+
11+
512
## Features
613

714
- 🧹 Cleans up stopped environments automatically
@@ -30,7 +37,7 @@ jobs:
3037
runs-on: ubuntu-latest
3138
steps:
3239
- name: Cleanup Old Environments
33-
uses: gitpod-io/cleanup-gitpod-environments@v1
40+
uses: Siddhant-K-code/cleanup-gitpod-environments@v1
3441
with:
3542
GITPOD_TOKEN: ${{ secrets.GITPOD_TOKEN }}
3643
ORGANIZATION_ID: ${{ secrets.GITPOD_ORGANIZATION_ID }}
@@ -51,7 +58,7 @@ jobs:
5158
runs-on: ubuntu-latest
5259
steps:
5360
- name: Cleanup Old Environments
54-
uses: gitpod-io/cleanup-gitpod-environments@v1
61+
uses: Siddhant-K-code/cleanup-gitpod-environments@v1
5562
with:
5663
GITPOD_TOKEN: ${{ secrets.GITPOD_TOKEN }}
5764
ORGANIZATION_ID: ${{ secrets.GITPOD_ORGANIZATION_ID }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'Gitpod Environment Cleanup'
2-
description: 'Automatically clean up stopped Gitpod Flex environments that are older than a specified number of days and have no pending changes.'
2+
description: 'Automatically clean up inactive Gitpod Flex environments based on age and status.'
33
author: 'Siddhant-K-code'
44

55
branding:

0 commit comments

Comments
 (0)