Merge pull request #564 from thkoch2001/disable_github_actions_on_fork

skip github jobs on forks
This commit is contained in:
Michael Christen authored and GitHub committed 2023-03-05 00:52:29 +01:00
commit 0e87ad14c3
2 files changed
+2

No files matched your search

@@ -5,6 +5,7 @@ on: pull_request
jobs:
build:
runs-on: ubuntu-latest
if: "github.repository == 'yacy/yacy_search_server'
steps:
- uses: actions/checkout@master
- name: Set up JDK 8
@@ -5,6 +5,7 @@ on: push
jobs:
build:
runs-on: self-hosted
if: "github.repository == 'yacy/yacy_search_server'
steps:
- uses: actions/checkout@master
- name: Set up JDK 8