-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (22 loc) · 869 Bytes
/
_prisma.yml
File metadata and controls
24 lines (22 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: 'Prisma'
on:
workflow_call:
jobs:
prisma-schema:
name: "/"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: technology-studio/github-workflows/.github/actions/install-dependencies@696ee6d68a8fdb357c5a6e26e748fba32f09a9bb # main
id: install
- run: yarn schema:process
- name: Check not processed schema
run: |
git diff
exit $(git status --porcelain=v1 2>/dev/null|wc -l)
- name: Send a Slack message on failure
if: failure()
uses: technology-studio/github-workflows/.github/actions/slack-failed-job-message@696ee6d68a8fdb357c5a6e26e748fba32f09a9bb # main
with:
slack_bot_token: ${{ secrets.TXO_SLACK_BOT_APP_TOKEN }}
channel_id: ${{ secrets.TXO_SLACK_GITHUB_OPS_CHANNEL_ID }}