Skip to content

Commit a7cc9c2

Browse files
committed
Simplify CI triggers and add keepalive action
1 parent 07b5bcc commit a7cc9c2

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/ci.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,10 @@
22
name: ci
33
on:
44
push:
5-
paths:
6-
- ".github/workflows/ci.yml"
7-
- lib/**
8-
- "*.gemspec"
9-
- spec/**
10-
- Rakefile
11-
- Gemfile
12-
- Gemfile.devtools
13-
- ".rubocop.yml"
14-
- project.yml
155
pull_request:
16-
branches:
17-
- master
186
create:
7+
schedule:
8+
- cron: "30 4 * * *"
199
jobs:
2010
tests:
2111
runs-on: ubuntu-latest
@@ -86,3 +76,11 @@ jobs:
8676
run: |
8777
tag=$(echo $GITHUB_REF | cut -d / -f 3)
8878
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}}\"}"
79+
80+
workflow-keepalive:
81+
if: github.event_name == 'schedule'
82+
runs-on: ubuntu-latest
83+
permissions:
84+
actions: write
85+
steps:
86+
- uses: liskin/gh-workflow-keepalive@v1

0 commit comments

Comments
 (0)