Skip to content

Optional Input for print summary

Latest
Compare
Choose a tag to compare
@Siddhant-K-code Siddhant-K-code released this 04 Dec 03:35
· 1 commit to main since this release

Example usage:

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.1
        with:
          GITPOD_TOKEN: ${{ secrets.GITPOD_PAT_TOKEN }}
          PRINT_SUMMARY: true # Print summary of deleted workspaces. Optional & defaults to false