diff --git a/.github/workflows/codeql-scan.yml b/.github/workflows/codeql-scan.yml index 58353f59a..cff98a099 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 06e6e87d1..c22236685 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 5b4749cee..476f97611 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 fc50d0c37..525195dca 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 7f3ee063f..7b935b525 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