You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by jr...@apache.org on 2023/02/14 12:26:15 UTC

[incubator-pekko-http] branch main updated: build: run GHA jobs only on main repository and not on forks (#44)

This is an automated email from the ASF dual-hosted git repository.

jrudolph pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-http.git


The following commit(s) were added to refs/heads/main by this push:
     new c9ee3caeb build: run GHA jobs only on main repository and not on forks (#44)
c9ee3caeb is described below

commit c9ee3caeb84097f800d183a645dc00915b53c9b8
Author: Johannes Rudolph <jo...@gmail.com>
AuthorDate: Tue Feb 14 13:26:10 2023 +0100

    build: run GHA jobs only on main repository and not on forks (#44)
---
 .github/workflows/format.yml               | 1 +
 .github/workflows/nightly.yml              | 1 +
 .github/workflows/publish-test-reports.yml | 1 +
 .github/workflows/publish.yml              | 2 ++
 .github/workflows/validate-and-test.yml    | 2 ++
 5 files changed, 7 insertions(+)

diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 9d330b61d..f7ff7c842 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -10,6 +10,7 @@ jobs:
   build:
     name: Code is formatted
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     steps:
       - name: Checkout current branch (full)
         uses: actions/checkout@v3
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 7fccc7b0c..be6d8d030 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -9,6 +9,7 @@ jobs:
   compile-and-test:
     name: Compile and test
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/publish-test-reports.yml b/.github/workflows/publish-test-reports.yml
index f5395ceff..27dde4670 100644
--- a/.github/workflows/publish-test-reports.yml
+++ b/.github/workflows/publish-test-reports.yml
@@ -8,6 +8,7 @@ jobs:
   publish-test-results:
     name: "Publish details with dorny-test-reporter"
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 22fc585dd..6e6aa0f83 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -9,6 +9,7 @@ jobs:
   publish-artifacts:
     name: Publish artifacts to Sonatype
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     steps:
       - name: Checkout
         uses: actions/checkout@v2
@@ -37,6 +38,7 @@ jobs:
   publish-docs:
     name: Publish documentation
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     steps:
       - name: Checkout
         uses: actions/checkout@v2
diff --git a/.github/workflows/validate-and-test.yml b/.github/workflows/validate-and-test.yml
index 4dfd6cbee..1c1bd24a5 100644
--- a/.github/workflows/validate-and-test.yml
+++ b/.github/workflows/validate-and-test.yml
@@ -15,6 +15,7 @@ jobs:
   formatting-check:
     name: Checks
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     steps:
       - name: Checkout
         uses: actions/checkout@v2
@@ -50,6 +51,7 @@ jobs:
   compile-and-test:
     name: Compile and test
     runs-on: ubuntu-latest
+    if: github.repository == 'apache/incubator-pekko-http'
     strategy:
       fail-fast: false
       matrix:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org