Skip to content

Commit 69f54e5

Browse files
committed
Only run gem audit if Gemfile(.lock) was changed, or every Monday @ 9AM
1 parent cc17790 commit 69f54e5

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/audit.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Gem audit
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths:
6+
- 'Gemfile*'
7+
pull_request:
8+
paths:
9+
- 'Gemfile*'
10+
schedule:
11+
- cron: '0 9 * * 1'
12+
timezone: 'Europe/London'
413

514
jobs:
615
test:

0 commit comments

Comments
 (0)