Skip to content

Commit

Permalink
Only run tests on PR push and pushes to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jun 28, 2024
1 parent 3b555e2 commit a83797c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: [push]
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
Expand Down

0 comments on commit a83797c

Please sign in to comment.