Skip to content

Commit 8ba8ef9

Browse files
authored
ci: run lint and tests only on pull requests (#1575)
1 parent 96046bb commit 8ba8ef9

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Lint
22

33
on:
4-
push:
5-
branches: [ main ]
64
pull_request:
75
branches: [ main ]
86

.github/workflows/test.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
name: Tests
22

33
on:
4-
push:
5-
branches: [ main ]
6-
paths:
7-
- 'src/**'
8-
- 'styles/**'
9-
- 'package.json'
10-
- 'package-lock.json'
11-
- 'scripts/**'
12-
- 'rollup.config.cjs'
13-
- 'rollup-css.config.cjs'
14-
- 'rollup-tokens.config.cjs'
15-
- 'tsconfig.json'
16-
- 'postcss.config.js'
17-
- '.changeset/**'
18-
- '.github/workflows/**'
194
pull_request:
205
branches: [ main, security-fixes ]
216
paths:

0 commit comments

Comments
 (0)