Skip to content

Commit 842c344

Browse files
fix(ci): optimize workflow to skip tests on PR title-only edits
1 parent 6c4c876 commit 842c344

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
jobs:
1717
test:
1818
name: Test
19+
if: github.event.action != 'edited'
1920
runs-on: ${{ matrix.os }}
2021
strategy:
2122
matrix:
@@ -38,6 +39,7 @@ jobs:
3839
run: make test-ci
3940
test-flaky:
4041
name: Test (flaky)
42+
if: github.event.action != 'edited'
4143
runs-on: ubuntu-latest
4244
continue-on-error: ${{ github.ref == 'refs/heads/master' }}
4345
steps:

0 commit comments

Comments
 (0)