Skip to content

Commit

Permalink
Simplify CI triggers and add keepalive action
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Nov 14, 2024
1 parent 07b5bcc commit a7cc9c2
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
Expand Up @@ -2,20 +2,10 @@
name: ci
on:
push:
paths:
- ".github/workflows/ci.yml"
- lib/**
- "*.gemspec"
- spec/**
- Rakefile
- Gemfile
- Gemfile.devtools
- ".rubocop.yml"
- project.yml
pull_request:
branches:
- master
create:
schedule:
- cron: "30 4 * * *"
jobs:
tests:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -86,3 +76,11 @@ jobs:
run: |
tag=$(echo $GITHUB_REF | cut -d / -f 3)
ossy gh w rom-rb/devtools release --payload "{\"tag\":\"$tag\",\"sha\":\"${{github.sha}}\",\"tag_creator\":\"$GITHUB_ACTOR\",\"repo\":\"$GITHUB_REPOSITORY\",\"repo_name\":\"${{github.event.repository.name}}\"}"
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 a7cc9c2

Please sign in to comment.