Skip to content

Commit 4369a3f

Browse files
committed
Enable PR-triggered JAMA literature harvest runs
1 parent 02f4072 commit 4369a3f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/jama_network_open_harvest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- '.github/workflows/jama_network_open_harvest.yml'
88
- 'scripts/fetch_jama_network_open.py'
99
- 'jama_trigger.txt'
10+
pull_request:
11+
paths:
12+
- 'scripts/fetch_jama_network_open.py'
13+
- 'jama_trigger_pr.txt'
1014

1115
permissions:
1216
contents: write
@@ -66,6 +70,7 @@ jobs:
6670
retention-days: 7
6771

6872
- name: Publish run pointer and preview
73+
if: github.event_name == 'push'
6974
shell: bash
7075
run: |
7176
git config user.name 'github-actions[bot]'

0 commit comments

Comments
 (0)