name: Validate on: merge_group: pull_request: branches: - main - master jobs: validate-landscape: runs-on: ubuntu-latest name: "Validate landscape.yml file" steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7@v4 - uses: cncf/landscape2-validate-action@7f299c46e9b03b4e8bc2896882734fb0b0756b37 # v2.0.0 with: target_kind: data target_path: ./landscape.yml - uses: pascalgn/automerge-action@7961b8b5eec56cc088c140b56d864285eabd3f67 # v0.16.4 if: success() && ${{ github.secret_source == 'Actions' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_LABELS: "automated-build" MERGE_RETRY_SLEEP: 300000 MERGE_METHOD: "squash"