Skip to content

Commit 6e7c823

Browse files
committed
cleaning up older gitpod environments
1 parent d820093 commit 6e7c823

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Cleanup Gitpod Environments
2+
3+
on:
4+
schedule:
5+
- cron: '0 14 * * 6' # Runs at 2:00 PM UTC (14:00) every Saturday
6+
workflow_dispatch: # Allows manual triggering
7+
8+
jobs:
9+
cleanup:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Cleanup Old Environments
13+
uses: Siddhant-K-code/cleanup-gitpod-environments@v1.1
14+
with:
15+
GITPOD_TOKEN: ${{ secrets.GITPOD_TOKEN }}
16+
ORGANIZATION_ID: ${{ secrets.GITPOD_ORGANIZATION_ID }}

0 commit comments

Comments
 (0)