Update ajson wf to run for origin repo only (#4926)

This commit is contained in:
Alexander Tsybulsky 2021-08-30 14:19:58 +03:00 committed by GitHub
parent 54036c11dd
commit 8e8eae99b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@ on:
- cron: '0 0 * * 1'
jobs:
run:
pr_ajson_changes:
# Origin repo only
if: github.repository == 'abapGit/abapGit'
runs-on: ubuntu-latest
@ -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