Skip to content

Commit

Permalink
Simplify CI triggers and add keepalive workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Nov 3, 2024
1 parent 9e116cd commit fe5e3e8
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@ name: ci

on:
push:
paths:
- ".github/workflows/ci.yml"
- "lib/**"
- "*.gemspec"
- "spec/**"
- "Rakefile"
- "Gemfile"
- ".rubocop.yml"
- "script/ci"
pull_request:
branches:
- main
create:
schedule:
- cron: "30 4 * * *"
create:

jobs:
tests:
Expand All @@ -39,3 +28,11 @@ jobs:
bundler-cache: true # 'bundle install' and cache gems
- name: Run all tests
run: script/ci

workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@v1

0 comments on commit fe5e3e8

Please sign in to comment.