.github/workflows: Restrict some workflows to the official repository

Prevent that the Coverity and send-email workflows fail for submitters
of pull requests.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
Bart Van Assche
2024-02-16 12:07:21 +03:00
committed by Gleb Chesnokov
parent b1ec10623b
commit 38b9e895bd
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ on:
jobs:
coverity:
if: github.repository == 'SCST-project/scst'
runs-on: ubuntu-latest
steps:
- name: Checkout Project
+1
View File
@@ -10,6 +10,7 @@ on:
jobs:
send_mails:
name: ${{matrix.commit.message}}
if: github.repository == 'SCST-project/scst'
runs-on: ubuntu-latest
strategy:
max-parallel: 1