Skip to content

Commit

Permalink
Add Cased deploy notification step
Browse files Browse the repository at this point in the history
  • Loading branch information
cased[bot] authored Nov 21, 2024
1 parent ac75001 commit 7a42dc3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -14,3 +13,10 @@ jobs:
- uses: pre-commit/[email protected]
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 }}

0 comments on commit 7a42dc3

Please sign in to comment.