From be086fcc08a7c5431e46d0024c50480f644d6b65 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Wed, 28 Feb 2024 12:41:48 +0200 Subject: [PATCH] fixes condition check for PR from a fork --- .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 ddb372dd4..5a530566b 100644 --- a/.github/workflows/check_license_and_history.yml +++ b/.github/workflows/check_license_and_history.yml @@ -21,7 +21,7 @@ jobs: id: changes run: | echo ${{github.event.pull_request.head.repo.full_name}} - if [ ${{ github.event.pull_request.head.repo.full_name == 'speedb-io/speedb' }} ]; 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