Skip to content

Commit 92c85dd

Browse files
committed
Matrix test step should be a noop when only doc change is pushed
1 parent dfaecd3 commit 92c85dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# you can turn it on using a cron schedule for regular testing.
33
#
44
name: Tests
5+
permissions:
6+
contents: read
57
on:
68
pull_request:
79
branches: [ master ]
@@ -127,7 +129,7 @@ jobs:
127129
run: |
128130
go test -timeout 0 -v -cover ./sumologic/
129131
# skip acceptance tests
130-
noop:
132+
skip:
131133
if: needs.should_test.outputs.run_tests != 'true'
132134
needs: should_test
133135
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)