Platform disk check #2995
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Platform disk check | |
| on: | |
| schedule: | |
| - cron: "7,22,37,52 * * * *" | |
| workflow_dispatch: | |
| jobs: | |
| disk-check: | |
| if: false # Template only — does not run in this repo. Remove this line in your project repo. | |
| uses: grayloon/.github/.github/workflows/platform-disk-check.yml@main | |
| with: | |
| app_service: app # default: "app" | |
| db_service: mysqldb # default: "mysqldb" | |
| app_threshold: 80 # default: 80 | |
| db_threshold: 75 # default: 75 | |
| secrets: | |
| PLATFORM_CLI_TOKEN: ${{ secrets.PLATFORM_CLI_TOKEN }} | |
| PLATFORM_PROJECT_ID: ${{ secrets.PLATFORM_PROJECT_ID }} | |
| PLATFORM_ENVIRONMENT: ${{ secrets.PLATFORM_ENVIRONMENT }} | |
| HEARTBEAT_APP_URL: ${{ secrets.HEARTBEAT_APP_URL }} | |
| HEARTBEAT_DB_URL: ${{ secrets.HEARTBEAT_DB_URL }} | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |