From 7a42dc3bcedc6fa9bfaf1e34738a443572aa00f9 Mon Sep 17 00:00:00 2001 From: "cased[bot]" <142548026+cased[bot]@users.noreply.github.com> Date: Thu, 21 Nov 2024 05:17:11 +0000 Subject: [PATCH] Add Cased deploy notification step --- .github/workflows/pre-commit.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e4f4860..b4121f5 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,10 +1,9 @@ name: pre-commit - -on: - pull_request: +true: + pull_request: null push: - branches: [main] - + branches: + - main jobs: pre-commit: runs-on: blacksmith-4vcpu-ubuntu-2204 @@ -14,3 +13,10 @@ jobs: - uses: pre-commit/action@v3.0.0 with: extra_args: --all-files --config .ci-pre-commit-config.yaml + - name: Deploy with Cased + uses: cased/cased-notification-action@v1 + with: + branch_name: ${{ github.event.pull_request.base.ref }} + target: prod + trigger: pr_merge + cased_token: ${{ secrets.CASED_TOKEN }}