Skip to content

Commit

Permalink
ci: prevent CD workflow from running on unrelated commits
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Dec 8, 2024
1 parent b63886d commit e49ecaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
permissions:
contents: write
runs-on: ubuntu-latest
if: contains(github.event.head_commit.modified, 'src/')
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit e49ecaf

Please sign in to comment.