Skip to content

Commit

Permalink
Trigger ci-build.yml only when files in src/ have changed
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-e authored Jan 25, 2025
1 parent acf1234 commit a969d65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: CI Build

# Trigger on pull request creation, update, and on pushes to the main branch
# Trigger only when files in src/ are changed on pull requests or pushes to the main branch
on:
pull_request:
branches:
- main
paths:
- 'src/**'
push:
branches:
- main
paths:
- 'src/**'
workflow_dispatch:

jobs:
Expand Down

1 comment on commit a969d65

@coban823
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,13 +1,17 @@
name: CI Build

Trigger on pull request creation, update, and on pushes to the main branch

Trigger only when files in src/ are changed on pull requests or pushes to the main branch

on:
pull_request:
branches:
- main
paths:
- 'src/'
push:
branches:
- main
paths:
- 'src/
'
workflow_dispatch:
jobs:

Please sign in to comment.