Skip to content

Commit df5b9f6

Browse files
wonglkdfacebook-github-bot
authored andcommitted
Run Github Actions on pull requests (#198)
Summary: Run GitHub action builds on every pull request, in addition to currently daily scheduled runs. Benefit: avoid accidentally breaking other OS builds. This would have caught #197. This triggers whenever PRs are opened or when commits are added to a PR. Frequency of PRs (total of 76 PRs over last 18 months since CacheLib was open-sourced) is much less than frequency of daily scheduled builds, so this shouldn't add too many builds overall. Pull Request resolved: #198 Reviewed By: therealgymmy Differential Revision: D43625609 Pulled By: jiayuebao fbshipit-source-id: 1572f6da32584ce6a1983d5e64afedf17ff17457
1 parent 6ad7a31 commit df5b9f6

9 files changed

+9
-0
lines changed

.github/workflows/build-cachelib-centos-8-1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-centos-8-1
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 11 * * 1,3,5'
1920
jobs:

.github/workflows/build-cachelib-centos-8-5.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-centos-8.5
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 9 * * *'
1920
jobs:

.github/workflows/build-cachelib-debian-10.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-debian-10
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 13 * * *'
1920
jobs:

.github/workflows/build-cachelib-fedora-36.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-fedora-36
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 19 * * *'
1920
jobs:

.github/workflows/build-cachelib-rockylinux-8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-rockylinux-8.6
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 15 * * 2,4,6'
1920
jobs:

.github/workflows/build-cachelib-rockylinux-9.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
name: build-cachelib-rockylinux-9.0
1515
on:
1616
# push:
17+
pull_request:
1718
schedule:
1819
- cron: '0 17 * * *'
1920
jobs:

.github/workflows/build-cachelib-ubuntu-18.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
name: build-cachelib-ubuntu-18
2020
on:
2121
# push:
22+
pull_request:
2223
schedule:
2324
- cron: '0 5 * * 2,4,6'
2425
jobs:

.github/workflows/build-cachelib-ubuntu-20.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
name: build-cachelib-ubuntu-20
1616
on:
1717
# push:
18+
pull_request:
1819
schedule:
1920
- cron: '0 5 * * 1,3,5'
2021
jobs:

.github/workflows/build-cachelib-ubuntu-22.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
name: build-cachelib-ubuntu-22
1616
on:
1717
# push:
18+
pull_request:
1819
schedule:
1920
- cron: '0 7 * * *'
2021
jobs:

0 commit comments

Comments
 (0)