diff options
| author | Inada Naoki <songofacandy@gmail.com> | 2021-11-16 17:47:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-16 17:47:16 +0900 |
| commit | cfa05d3fdc6290b4847e4781a06ac0668ea9dc18 (patch) | |
| tree | 0180920e790607c5777c60d29044c5948d86744a /.github/workflows/linux.yml | |
| parent | 8e358617e77d63a391f0c0f91b3e552214f2a49a (diff) | |
| download | msgpack-python-cfa05d3fdc6290b4847e4781a06ac0668ea9dc18.tar.gz | |
Actions: Run CI only for PRs from forks. (#489)
Diffstat (limited to '.github/workflows/linux.yml')
| -rw-r--r-- | .github/workflows/linux.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 811bc13..95c672b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -6,6 +6,10 @@ on: jobs: build: + # We want to run on external PRs, but not on our own internal PRs as they'll be run + # by the push to the branch. + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + runs-on: ubuntu-latest steps: - name: Checkout |
