Skip to content

Commit

Permalink
Trigger workflow only on changes to input/
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Apr 5, 2024
1 parent c4c0b7f commit 1d7d4da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/fetch.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Fetch Data and Notify Parent

on:
on:
push:
paths:
- "input/*"
workflow_dispatch:

jobs:

notify-parent:
runs-on: ubuntu-latest
steps:
Expand All @@ -15,7 +16,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: "18"

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 1d7d4da

Please sign in to comment.