Skip to content

Commit 07e0229

Browse files
committed
Only run tests on Pull Requests to the main branch
1 parent 7fd316b commit 07e0229

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
# Terraform Provider testing workflow.
22
name: Tests
33

4-
# This GitHub action runs your tests for each pull request and push.
5-
# Optionally, you can turn it on using a schedule for regular testing.
4+
# This GitHub action runs your tests for each pull request.
65
on:
76
pull_request:
8-
paths-ignore:
9-
- 'README.md'
10-
push:
11-
paths-ignore:
12-
- 'README.md'
7+
branches:
8+
- main
139

1410
# Testing only needs permissions to read the repository contents.
1511
permissions:

0 commit comments

Comments
 (0)