From 7f17d5329b41fc1d777b7b94bbb6fd97b4d42997 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 13 Sep 2023 17:02:28 -0400 Subject: [PATCH 1/6] ci: dispatch `clas12-validation` workflow --- .github/workflows/maven.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7c69f469c..74faaf326 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -73,3 +73,16 @@ jobs: run: | cd validation/advanced-tests ${{matrix.cmd}} + + trigger_validation: + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.CLAS12VALIDATION }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: 'JeffersonLab', + repo: 'clas12-validation', + workflow_id: 'ci.yml', + ref: 'ci-gemc' + }) From 03d235505d301584ec3a077ff260732ee7d428b8 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 13 Sep 2023 17:07:58 -0400 Subject: [PATCH 2/6] fix: `runs-on` --- .github/workflows/maven.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 74faaf326..595f4fe75 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -75,6 +75,7 @@ jobs: ${{matrix.cmd}} trigger_validation: + runs-on: ubuntu-latest steps: - uses: actions/github-script@v6 with: From 3915e8c77432915f7675698ed881ba021f8c44c6 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 13 Sep 2023 17:14:35 -0400 Subject: [PATCH 3/6] ci: re-trigger From 66b3713caac500f7b71d7bc6d8bc91617b98545a Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 13 Sep 2023 17:17:02 -0400 Subject: [PATCH 4/6] ci: re-trigger From 7af4a65a6d14b0983e99b8b9fb82763de51d4f55 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Fri, 15 Sep 2023 20:56:07 -0400 Subject: [PATCH 5/6] ci: try another action --- .github/workflows/maven.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 595f4fe75..e1b2ce711 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -77,13 +77,10 @@ jobs: trigger_validation: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - name: dispatch + - uses: benc-uk/workflow-dispatch@v1 with: - github-token: ${{ secrets.CLAS12VALIDATION }} - script: | - await github.rest.actions.createWorkflowDispatch({ - owner: 'JeffersonLab', - repo: 'clas12-validation', - workflow_id: 'ci.yml', - ref: 'ci-gemc' - }) + repo: JeffersonLab/clas12-validation + ref: ci-gemc + workflow: ci.yml + token: ${{ secrets.CLAS12VALIDATION }} From f21b890627a7fde4648c7400c1994518e14efdea Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Fri, 15 Sep 2023 20:56:59 -0400 Subject: [PATCH 6/6] fix: typo --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e1b2ce711..33c8d4760 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-latest steps: - name: dispatch - - uses: benc-uk/workflow-dispatch@v1 + uses: benc-uk/workflow-dispatch@v1 with: repo: JeffersonLab/clas12-validation ref: ci-gemc