Skip to content

Commit fe5e3e8

Browse files
committed
Simplify CI triggers and add keepalive workflow
1 parent 9e116cd commit fe5e3e8

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/ci.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@ name: ci
22

33
on:
44
push:
5-
paths:
6-
- ".github/workflows/ci.yml"
7-
- "lib/**"
8-
- "*.gemspec"
9-
- "spec/**"
10-
- "Rakefile"
11-
- "Gemfile"
12-
- ".rubocop.yml"
13-
- "script/ci"
145
pull_request:
15-
branches:
16-
- main
6+
create:
177
schedule:
188
- cron: "30 4 * * *"
19-
create:
209

2110
jobs:
2211
tests:
@@ -39,3 +28,11 @@ jobs:
3928
bundler-cache: true # 'bundle install' and cache gems
4029
- name: Run all tests
4130
run: script/ci
31+
32+
workflow-keepalive:
33+
if: github.event_name == 'schedule'
34+
runs-on: ubuntu-latest
35+
permissions:
36+
actions: write
37+
steps:
38+
- uses: liskin/gh-workflow-keepalive@v1

0 commit comments

Comments
 (0)