From 0f51fb226551d8b89f8a8019f6068e0be178db02 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:53:26 +0000 Subject: [PATCH] splited the case of a PR that came from the original repo and the case when the request came from a fork, in the latter case will try to trit it as not a PR --- .github/workflows/check_license_and_history.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_license_and_history.yml b/.github/workflows/check_license_and_history.yml index 2955d9b36..a8486f588 100644 --- a/.github/workflows/check_license_and_history.yml +++ b/.github/workflows/check_license_and_history.yml @@ -20,7 +20,7 @@ jobs: - name: Get changed files id: changes run: | - if [ ${ github.event.pull_request.head.repo.full_name != 'org/repo' }]; then + if [ ${ github.event.pull_request.head.repo.full_name != 'speedb-io/speedb' }]; then echo "files added or changed in a PR that came from the speedb repo: " git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -- . ':!.github' ':!*.md' echo "diff_list<> $GITHUB_OUTPUT