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

psxjoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git


The following commit(s) were added to refs/heads/main by this push:
     new 1e54c05a feat: add conditional triggers for workflows based on 
repository and event type (#664)
1e54c05a is described below

commit 1e54c05a9310c7cd14a43b10568d735674d07e34
Author: gongzhongqiang <[email protected]>
AuthorDate: Sat Nov 1 22:46:54 2025 +0800

    feat: add conditional triggers for workflows based on repository and event 
type (#664)
---
 .github/workflows/codeql-scan.yml | 1 +
 .github/workflows/deploy-docs.yml | 1 +
 .github/workflows/fuzz-tests.yml  | 1 +
 .github/workflows/nightly.yml     | 1 +
 .github/workflows/release.yml     | 1 +
 5 files changed, 5 insertions(+)

diff --git a/.github/workflows/codeql-scan.yml 
b/.github/workflows/codeql-scan.yml
index 58353f59..cff98a09 100644
--- a/.github/workflows/codeql-scan.yml
+++ b/.github/workflows/codeql-scan.yml
@@ -29,6 +29,7 @@ on:
 
 jobs:
   codeql:
+    if: (github.event_name == 'schedule' && github.repository == 
'apache/fesod') || (github.event_name != 'schedule')
     name: CodeQL Analysis
     runs-on: ubuntu-latest
     permissions:
diff --git a/.github/workflows/deploy-docs.yml 
b/.github/workflows/deploy-docs.yml
index 06e6e87d..c2223668 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -23,6 +23,7 @@ on:
 
 jobs:
   deploy:
+    if: github.repository == 'apache/fesod'
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
diff --git a/.github/workflows/fuzz-tests.yml b/.github/workflows/fuzz-tests.yml
index 5b4749ce..476f9761 100644
--- a/.github/workflows/fuzz-tests.yml
+++ b/.github/workflows/fuzz-tests.yml
@@ -24,6 +24,7 @@ on:
 
 jobs:
   fuzz:
+    if: (github.event_name == 'schedule' && github.repository == 
'apache/fesod') || (github.event_name != 'schedule')
     runs-on: ubuntu-latest
     timeout-minutes: 360
     env:
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index fc50d0c3..525195dc 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -25,6 +25,7 @@ permissions:
   pull-requests: write
 jobs:
   nightly-test:
+    if: (github.event_name == 'schedule' && github.repository == 
'apache/fesod') || (github.event_name != 'schedule')
     runs-on: ubuntu-24.04
     strategy:
       matrix:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7f3ee063..7b935b52 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,6 +24,7 @@ on:
 
 jobs:
   publish:
+    if: github.repository == 'apache/fesod'
     runs-on: ubuntu-latest
     steps:
       - name: Check out Git repository


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to