Skip to content

Commit

Permalink
[CI] Filter runs of regex engine workflow (#15460)
Browse files Browse the repository at this point in the history
This workflow now only triggers on changes to paths that are directly related to Regex.
It also runs on a nightly schedule and can be triggered manually.
  • Loading branch information
straight-shoota authored Feb 13, 2025
1 parent 63cf466 commit 63641f6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/regex-engine.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
name: Regex Engine CI

on: [push, pull_request]
on:
push:
paths:
- 'src/regex.cr'
- 'src/regex/**'
- 'spec/std/regex_spec.cr'
- 'spec/std/regex/**'
- '.github/workflows/regex-engine.yml'
pull_request:
paths:
- 'src/regex.cr'
- 'src/regex/**'
- 'spec/std/regex_spec.cr'
- 'spec/std/regex/**'
- '.github/workflows/regex-engine.yml'
schedule:
- cron: '0 3 * * *'
workflow_dispatch:

permissions: {}

Expand Down

0 comments on commit 63641f6

Please sign in to comment.