Skip to content

Commit

Permalink
test-gh workflow only runs on push, pr open/reopen
Browse files Browse the repository at this point in the history
This is done to prevent duplicate runs (from push/pr) when a pull request has multiple push events associated with it
  • Loading branch information
danielhelfand committed Dec 9, 2020
1 parent 0b705d6 commit 7f3cb07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-gh.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: test-gh
on: [push, pull_request]
on:
push:
pull_request:
types: [opened, reopened]
jobs:
test-all:
name: Test GH
Expand Down

0 comments on commit 7f3cb07

Please sign in to comment.