PodDisruptionBudget and topologySpreadConstraints exist for the gateway only #372
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: Visor | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| issues: | |
| types: [opened] | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| checks: write | |
| jobs: | |
| dep-guard: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| outputs: | |
| skip: ${{ steps.check.outputs.skip }} | |
| steps: | |
| - name: Check for dependency changes | |
| id: check | |
| run: echo "skip=false" >> "$GITHUB_OUTPUT" | |
| visor: | |
| needs: [dep-guard] | |
| if: always() && (needs.dep-guard.result == 'success' || needs.dep-guard.result == 'skipped') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: probelabs/visor@02e893ad11b66319b0fca1a43622038171c1a159 # main | |
| with: | |
| app-id: ${{ secrets.PROBE_APP_ID }} | |
| private-key: ${{ secrets.PROBE_APP_PRIVATE_KEY }} | |
| installation-id: ${{ secrets.PROBE_APP_INSTALLATION_ID }} | |
| env: | |
| GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }} |