Skip to content

Commit 2af7f02

Browse files
committed
[CI] Actions - restrict workflow runs, actions/checkout@v3
1 parent 784a06c commit 2af7f02

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
name: CI
22

3-
on: [push, pull_request, workflow_dispatch]
3+
pull_request:
4+
paths-ignore:
5+
- '*.md'
6+
push:
7+
branches-ignore:
8+
- v1
9+
tags-ignore:
10+
- '*'
11+
paths-ignore:
12+
- '*.md'
13+
workflow_dispatch:
414

515
jobs:
616
main:
@@ -48,7 +58,7 @@ jobs:
4858
runs-on: ${{ matrix.os }}
4959
steps:
5060
- name: Checkout
51-
uses: actions/checkout@v2
61+
uses: actions/checkout@v3
5262

5363
- name: Ruby Install
5464
uses: ./

0 commit comments

Comments
 (0)