Skip to content

Commit

Permalink
Only run tests on Pull Requests to the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Omicron7 committed Nov 26, 2024
1 parent 7fd316b commit 07e0229
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Terraform Provider testing workflow.
name: Tests

# This GitHub action runs your tests for each pull request and push.
# Optionally, you can turn it on using a schedule for regular testing.
# This GitHub action runs your tests for each pull request.
on:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'
branches:
- main

# Testing only needs permissions to read the repository contents.
permissions:
Expand Down

0 comments on commit 07e0229

Please sign in to comment.