From 8e8eae99b0b4679c771728eec5cfed051a92d1b8 Mon Sep 17 00:00:00 2001 From: Alexander Tsybulsky Date: Mon, 30 Aug 2021 14:19:58 +0300 Subject: [PATCH] Update ajson wf to run for origin repo only (#4926) --- .github/workflows/ajson_mirror.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ajson_mirror.yaml b/.github/workflows/ajson_mirror.yaml index 744d91351..53d5940e4 100644 --- a/.github/workflows/ajson_mirror.yaml +++ b/.github/workflows/ajson_mirror.yaml @@ -6,8 +6,10 @@ on: - cron: '0 0 * * 1' jobs: - run: - + pr_ajson_changes: + # Origin repo only + if: github.repository == 'abapGit/abapGit' + runs-on: ubuntu-latest steps: @@ -26,7 +28,6 @@ jobs: git status - name: Open PR uses: peter-evans/create-pull-request@v3 - if: github.repository == 'abapGit/abapGit' with: title: ajson, Automatic Update branch: automatic/ajson