Skip to content

Commit

Permalink
Only test on-push for master and a specific branch name
Browse files Browse the repository at this point in the history
This avoids testing twice when pushing to the main repository, once for the push, and another for a PR.
  • Loading branch information
nicoddemus committed May 12, 2023
1 parent fa08e09 commit 657ba9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -3,7 +3,8 @@ name: test
on:
push:
branches:
- "*"
- master
- "test-me-*"

pull_request:
branches:
Expand Down

0 comments on commit 657ba9a

Please sign in to comment.