Skip to content

Commit 3a84907

Browse files
Remove ci trigger for docs changes (#52)
1 parent 11f5901 commit 3a84907

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ on:
44
push:
55
branches:
66
- master
7+
paths-ignore:
8+
- '**.md'
9+
- 'LICENSE'
710
pull_request:
811
branches:
912
- master
13+
paths-ignore:
14+
- '**.md'
15+
- 'LICENSE'
1016
schedule:
1117
- cron: '0 5 * * *'
1218

@@ -20,9 +26,11 @@ env:
2026
jobs:
2127

2228
build:
23-
name: Build Go Client
29+
name: Build Client
2430
runs-on: ubuntu-18.04
25-
if: (github.repository == 'nginxinc/nginx-plus-go-client')
31+
if:
32+
github.event.pull_request.head.repo.full_name == 'nginxinc/nginx-plus-go-client' ||
33+
github.event_name == 'push'
2634
steps:
2735
- name: Checkout Repository
2836
uses: actions/checkout@v2

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches:
66
- master
7+
paths-ignore:
8+
- '**.md'
9+
- 'LICENSE'
710
types:
811
- opened
912
- reopened

0 commit comments

Comments
 (0)