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 }}