Skip to content

Add a real live Linear/Codex E2E target #61

Add a real live Linear/Codex E2E target

Add a real live Linear/Codex E2E target #61

name: pr-description-lint
on:
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]
jobs:
validate-pr-description:
runs-on: ubuntu-latest
defaults:
run:
working-directory: elixir
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up mise tools
uses: jdx/mise-action@v3
with:
install: true
cache: true
working_directory: elixir
- name: Validate PR description format
env:
PR_BODY_JSON: ${{ toJson(github.event.pull_request.body) }}
run: |
mix local.hex --force
mix local.rebar --force
mix deps.get
printf '%s' "$PR_BODY_JSON" | jq -r '.' > /tmp/pr_body.md
mix pr_body.check --file /tmp/pr_body.md