Skip to content

Commit

Permalink
Update CI to exclude markdown files as a trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Long committed Sep 24, 2024
1 parent de37abe commit 5ec09cc
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
name: CI

on: [push]
on:
push:
branches: [main]
# Only on these paths so that something like a README update doesn't trigger it
paths:
- requirements.txt
- "**.py"
- ".github/workflows/ci.yml"
pull_request:
paths:
- requirements.txt
- "**.py"
- ".github/workflows/ci.yml"
workflow_dispatch:

# Cancel existing executions when new commits are pushed onto the branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_backend:
Expand Down

0 comments on commit 5ec09cc

Please sign in to comment.