summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yaml
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2021-11-16 17:47:16 +0900
committerGitHub <noreply@github.com>2021-11-16 17:47:16 +0900
commitcfa05d3fdc6290b4847e4781a06ac0668ea9dc18 (patch)
tree0180920e790607c5777c60d29044c5948d86744a /.github/workflows/windows.yaml
parent8e358617e77d63a391f0c0f91b3e552214f2a49a (diff)
downloadmsgpack-python-cfa05d3fdc6290b4847e4781a06ac0668ea9dc18.tar.gz
Actions: Run CI only for PRs from forks. (#489)
Diffstat (limited to '.github/workflows/windows.yaml')
-rw-r--r--.github/workflows/windows.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml
index debe074..0ce50f5 100644
--- a/.github/workflows/windows.yaml
+++ b/.github/workflows/windows.yaml
@@ -1,14 +1,15 @@
name: Build and test windows wheels
on:
push:
- branches:
- - master
- - test
pull_request:
create:
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: windows-latest
steps:
- name: Checkout