about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-03-20 16:46:45 +0100
committerPietro Albini <pietro@pietroalbini.org>2020-03-24 15:36:12 +0100
commit11aafa5305656ca3190d099c1bb92b47e587cd0c (patch)
treed7188f4ee3631b30ef3af35f6a482fbb8f7855e3 /src/ci/github-actions
parent1ba762a193f8db56f4229c6dd3b2a1f0df62170a (diff)
downloadrust-11aafa5305656ca3190d099c1bb92b47e587cd0c.tar.gz
rust-11aafa5305656ca3190d099c1bb92b47e587cd0c.zip
ci: run gha workflows for try, auto and master on the fork
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index 33573a4de9f..b4f2a367f4d 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -279,7 +279,7 @@ jobs:
     name: try
     env:
       <<: [*shared-ci-variables, *prod-variables]
-    if: github.event_name == 'push' && github.ref == 'refs/heads/try'
+    if: github.event_name == 'push' && github.ref == 'refs/heads/try' && github.repository == 'rust-lang-ci/rust'
     strategy:
       matrix:
         name:
@@ -299,7 +299,7 @@ jobs:
     name: auto
     env:
       <<: [*shared-ci-variables, *prod-variables]
-    if: github.event_name == 'push' && github.ref == 'refs/heads/auto'
+    if: github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'
     strategy:
       matrix:
         name:
@@ -677,7 +677,7 @@ jobs:
     runs-on: ubuntu-latest
     env:
       <<: [*prod-variables]
-    if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+    if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'
     steps:
       - name: checkout the source code
         uses: actions/checkout@v1