Skip to content

Commit

Permalink
Workflows / CI: optimized a bit
Browse files Browse the repository at this point in the history
It should run not on every change, but on the code or config ones only.
  • Loading branch information
Alexander-Senko committed Oct 10, 2024
1 parent 35d056e commit 0f8bfd4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name: Ruby
name: CI

on:
push:
branches:
- main
tags:
- '!*' # none
paths:
- lib/*
- spec/*
- Gemfile*
- '*.gemspec'
- .github/workflows/main.yml

pull_request:
paths:
- '!*.md'
- '!*.txt'

jobs:
build:
Expand Down

0 comments on commit 0f8bfd4

Please sign in to comment.