Skip to content

Commit 1ac0f4e

Browse files
authored
Merge pull request #5 from embulk/test-just-once
Test just once, not to run tests both for GitHub "push" and "pull_request"
2 parents 10c0a3f + 686efe5 commit 1ac0f4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on: [ pull_request, push ]
33
jobs:
44
check:
55
runs-on: ${{ matrix.os }}
6+
# push: always run.
7+
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
8+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
69
strategy:
710
fail-fast: false
811
matrix:

0 commit comments

Comments
 (0)