Skip to content

chore(ci): replace mergify with automerge workflow #391

chore(ci): replace mergify with automerge workflow

chore(ci): replace mergify with automerge workflow #391

Workflow file for this run

name: "Plan"
on: [pull_request]
jobs:
build-shard-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- id: set-matrix
run: |
stack=$(jq -rcM ".stacks | { stack: keys }" sharded-stacks.json)
echo "matrix=$stack" >> $GITHUB_OUTPUT
diff:
uses: ./.github/workflows/diff-cdktf-stacks.yml
needs: build-shard-matrix
with:
stacks: ${{ needs.build-shard-matrix.outputs.matrix }}
secrets: inherit
diff_constructs:
uses: ./.github/workflows/diff-cdktf-stacks.yml
with:
stacks: '{"stack":["custom-constructs"]}'
secrets: inherit