Skip to content

Commit

Permalink
Only run tests once on PR
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Sanders <[email protected]>
  • Loading branch information
jakexks committed Jun 9, 2021
1 parent 21824f3 commit cc5bbbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: docker

on:
push:
branches: main
branches:
- main

jobs:
multiarch-build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: tests
on: [pull_request, push]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run_tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit cc5bbbb

Please sign in to comment.