Skip to content

Commit

Permalink
Add keepalive workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Nov 5, 2024
1 parent 1ca56cd commit 8711000
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
name: ci

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

jobs:
tests:
Expand All @@ -42,3 +32,11 @@ jobs:
run: bundle install --jobs 4 --retry 3
- 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 8711000

Please sign in to comment.