From c7256bebd6df743b3b5ae9745d4a2c0de527f132 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Mon, 26 Feb 2024 13:02:16 +0200 Subject: [PATCH 1/7] Added test_file.txt in order to test check license and history --- test_file.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_file.txt diff --git a/test_file.txt b/test_file.txt new file mode 100644 index 000000000..3c0eb7ac0 --- /dev/null +++ b/test_file.txt @@ -0,0 +1 @@ +test_file From 34fbfa61e4f5a4b638116d91c20dcb8bb4badba7 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 07:36:12 +0200 Subject: [PATCH 2/7] added test_file1.txt --- test_file1.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_file1.txt diff --git a/test_file1.txt b/test_file1.txt new file mode 100644 index 000000000..5271a5268 --- /dev/null +++ b/test_file1.txt @@ -0,0 +1 @@ +test123 From 06254c29ed42330839a6470f99450f9460ed6338 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 07:42:03 +0200 Subject: [PATCH 3/7] Added test_file3.txt --- test_file2.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_file2.txt diff --git a/test_file2.txt b/test_file2.txt new file mode 100644 index 000000000..5271a5268 --- /dev/null +++ b/test_file2.txt @@ -0,0 +1 @@ +test123 From 86d3265419bfa648b4ee08e4d39eb853bce326a4 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 07:46:16 +0200 Subject: [PATCH 4/7] updated the workflow --- .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..3accc16ac 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 From d40161f6b90bafca9700d246b70753911b644c08 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 07:57:16 +0200 Subject: [PATCH 5/7] updated the workflow --- .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 3accc16ac..e40154d4d 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 From 9b74544e78172a6a1c10daa8aeb0b095716a2dda Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Tue, 27 Feb 2024 08:00:55 +0200 Subject: [PATCH 6/7] updated the workflow --- .github/workflows/check_license_and_history.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_license_and_history.yml b/.github/workflows/check_license_and_history.yml index e40154d4d..d1b4d85ab 100644 --- a/.github/workflows/check_license_and_history.yml +++ b/.github/workflows/check_license_and_history.yml @@ -21,7 +21,8 @@ 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 "111" 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 From 22c08377e18b88dbcdf8e0e93296cf8c35f5bf95 Mon Sep 17 00:00:00 2001 From: maxb-io <105273783+maxb-io@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:09:04 +0200 Subject: [PATCH 7/7] added dummy txt file --- 28_2_0908.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 28_2_0908.txt diff --git a/28_2_0908.txt b/28_2_0908.txt new file mode 100644 index 000000000..e5786d922 --- /dev/null +++ b/28_2_0908.txt @@ -0,0 +1 @@ +Wed Feb 28 09:08:43 IST 2024