From abf7e623b740b034935fad0a2f736febc892b8e7 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:55:19 +0530 Subject: [PATCH 1/6] Create trigger-test.yml --- .github/workflows/trigger-test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/trigger-test.yml diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml new file mode 100644 index 00000000..52610672 --- /dev/null +++ b/.github/workflows/trigger-test.yml @@ -0,0 +1,19 @@ +name: trigger tests in another repository +on: + pull_request: + types: [opened, synchronize] + issues: + types: [ opened ] + workflow_dispatch: + push: +jobs: + trigger-test: + runs-on: ubuntu-latest + steps: + - name: trigger the automated test in another repo + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.REPO_ACCESS }} + repository: anusreelakshmi934/liberty-tools-intellij + event-type: my-event + client-payload: '{"github": ${{ toJson(github) }}, "TEST_ENV": "development" , "SERVICE": "smoke"}' From f118b6dc2697dbf0fd3ca421119ed93cab32940c Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:06:49 +0530 Subject: [PATCH 2/6] Update trigger-test.yml --- .github/workflows/trigger-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml index 52610672..45e56806 100644 --- a/.github/workflows/trigger-test.yml +++ b/.github/workflows/trigger-test.yml @@ -6,6 +6,7 @@ on: types: [ opened ] workflow_dispatch: push: + branches: [ testing47 ] jobs: trigger-test: runs-on: ubuntu-latest From fa0c1397ec5ccf041b4a4b73b0d9a6f199b2fcf6 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:12:17 +0530 Subject: [PATCH 3/6] Update trigger-test.yml --- .github/workflows/trigger-test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml index 45e56806..52610672 100644 --- a/.github/workflows/trigger-test.yml +++ b/.github/workflows/trigger-test.yml @@ -6,7 +6,6 @@ on: types: [ opened ] workflow_dispatch: push: - branches: [ testing47 ] jobs: trigger-test: runs-on: ubuntu-latest From c8b0c66ad1076e42072e2478ca35b9f79ca9ddc7 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:15:35 +0530 Subject: [PATCH 4/6] Update trigger-test.yml --- .github/workflows/trigger-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml index 52610672..45e56806 100644 --- a/.github/workflows/trigger-test.yml +++ b/.github/workflows/trigger-test.yml @@ -6,6 +6,7 @@ on: types: [ opened ] workflow_dispatch: push: + branches: [ testing47 ] jobs: trigger-test: runs-on: ubuntu-latest From 6a9a666d83a62dacf70d7526e829dd73a6dc2325 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:19:15 +0530 Subject: [PATCH 5/6] Update trigger-test.yml --- .github/workflows/trigger-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml index 45e56806..9e670a7c 100644 --- a/.github/workflows/trigger-test.yml +++ b/.github/workflows/trigger-test.yml @@ -6,7 +6,6 @@ on: types: [ opened ] workflow_dispatch: push: - branches: [ testing47 ] jobs: trigger-test: runs-on: ubuntu-latest @@ -17,4 +16,4 @@ jobs: token: ${{ secrets.REPO_ACCESS }} repository: anusreelakshmi934/liberty-tools-intellij event-type: my-event - client-payload: '{"github": ${{ toJson(github) }}, "TEST_ENV": "development" , "SERVICE": "smoke"}' + From ae908d4dee42c9441de20785b6caa658f63214e3 Mon Sep 17 00:00:00 2001 From: Anusree Lakshmi <141303561+anusreelakshmi934@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:23:37 +0530 Subject: [PATCH 6/6] Update trigger-test.yml --- .github/workflows/trigger-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-test.yml b/.github/workflows/trigger-test.yml index 9e670a7c..d270aa05 100644 --- a/.github/workflows/trigger-test.yml +++ b/.github/workflows/trigger-test.yml @@ -3,7 +3,7 @@ on: pull_request: types: [opened, synchronize] issues: - types: [ opened ] + types: [ opened, edited ] workflow_dispatch: push: jobs: