feat(incidentio): run RCA on alerts (incl. private) with real alert-priority filtering #2740
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: Validate Environment Variables | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [ main, release ] | |
| paths: | |
| - 'client/**/*.ts' | |
| - 'client/**/*.tsx' | |
| - 'client/**/*.js' | |
| - 'client/**/*.jsx' | |
| - 'server/**/*.py' | |
| - '.env.example' | |
| - 'docker-compose*.yml' | |
| - 'docker-compose*.yaml' | |
| - 'scripts/validate-env-vars.sh' | |
| push: | |
| branches: [ main, release ] | |
| paths: | |
| - 'client/**/*.ts' | |
| - 'client/**/*.tsx' | |
| - 'client/**/*.js' | |
| - 'client/**/*.jsx' | |
| - 'server/**/*.py' | |
| - '.env.example' | |
| - 'docker-compose*.yml' | |
| - 'docker-compose*.yaml' | |
| - 'scripts/validate-env-vars.sh' | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-env-vars: | |
| name: Validate Environment Variables | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Run environment variables validation | |
| env: | |
| ENV_CONTENT: ${{ secrets.ENV_CONTENT }} | |
| run: | | |
| bash scripts/validate-env-vars.sh | |
| - name: Upload validation report (on failure) | |
| if: failure() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: env-validation-report | |
| path: | | |
| /tmp/env-*.txt | |
| retention-days: 7 | |
| if-no-files-found: ignore |