Skip to content

feat: forbid admin deleting deploy/sts #609

feat: forbid admin deleting deploy/sts

feat: forbid admin deleting deploy/sts #609

Workflow file for this run

name: manifest
on: pull_request
jobs:
gen-matrix:
runs-on: ubuntu-latest
outputs:
changed-dirs: ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
steps:
- name: Get whether release-name dir changed
id: changed-files
uses: tj-actions/changed-files@v45
with:
dir_names: "true"
dir_names_exclude_current_dir: "true"
dir_names_max_depth: 2
matrix: "true"
files: |
apps/**
# debug
- name: List all changed dirs
run: |
echo '${{ steps.changed-files.outputs.all_changed_and_modified_files }}' | jq
diff:
needs: gen-matrix
if: ${{ needs.gen-matrix.outputs.changed-dirs != '[]' }}
strategy:
matrix:
changed-dir: ${{ fromJson(needs.gen-matrix.outputs.changed-dirs) }}
uses: ./.github/workflows/reusable-diff.yml
with:
changed-dir: ${{ matrix.changed-dir }}
polaris:
needs: gen-matrix
if: ${{ needs.gen-matrix.outputs.changed-dirs != '[]' }}
strategy:
matrix:
changed-dir: ${{ fromJson(needs.gen-matrix.outputs.changed-dirs) }}
uses: ./.github/workflows/reusable-polaris.yml
with:
changed-dir: ${{ matrix.changed-dir }}
status-check:
runs-on: ubuntu-latest
needs:
- gen-matrix
permissions: {}
if: failure()
steps:
- run: exit 1