Skip to content

feat: linear ticket checker #5

feat: linear ticket checker

feat: linear ticket checker #5

Workflow file for this run

name: linear ticket check
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
check:
runs-on: ubuntu-latest
env:
LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch main branch
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/main
git checkout origin/main
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: tools/linear-checker/package-lock.json
- name: Check comment issues
working-directory: tools/linear-checker
run: npm install && npm run check