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 e80bc79 commit d92c776
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
name: ci

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

jobs:
tests:
Expand Down Expand Up @@ -48,6 +37,14 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
- name: Run the test suite
run: bundle exec rake

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 d92c776

Please sign in to comment.