From: Gleb C. <lna...@ya...> - 2024-02-16 09:08:13
|
Commit: 38b9e89 GitHub URL: https://github.com/SCST-project/scst/commit/38b9e895bd6316b92e7f181808834ce759370398 Author: Bart Van Assche Date: 2024-02-16T12:07:21+03:00 Log Message: ----------- .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 <bva...@ac...> Modified Paths: -------------- .github/workflows/coverity.yml | 1 + .github/workflows/mail_notification.yml | 1 + 2 files changed, 2 insertions(+) =================================================================== diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index c6465da..e643a01 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -7,6 +7,7 @@ on: jobs: coverity: + if: github.repository == 'SCST-project/scst' runs-on: ubuntu-latest steps: - name: Checkout Project diff --git a/.github/workflows/mail_notification.yml b/.github/workflows/mail_notification.yml index 9d585a2..415ac08 100644 --- a/.github/workflows/mail_notification.yml +++ b/.github/workflows/mail_notification.yml @@ -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 |