Skip to content

Commit bef73be

Browse files
committed
fix: running workflow on pull request
1 parent 53fd407 commit bef73be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/generate_srs_files.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Generate SRS Files
22

33
on:
4-
schedule:
5-
- cron: "0 0 * * *"
6-
push:
7-
branches: [ "main" ]
4+
pull_request:
85
paths:
96
- 'csv/**'
107

@@ -29,6 +26,7 @@ jobs:
2926

3027

3128
generate_srs:
29+
if: startsWith(github.head_ref, 'main')
3230
runs-on: ubuntu-latest
3331
needs: build
3432
steps:

0 commit comments

Comments
 (0)