diff --git a/.github/workflows/on commit.yaml b/.github/workflows/on commit.yaml index db038e15..5d960594 100644 --- a/.github/workflows/on commit.yaml +++ b/.github/workflows/on commit.yaml @@ -154,7 +154,6 @@ jobs: steps: - uses: actions/github-script@v5 with: - github-token: ${{ secrets.PAT_TOKEN }} script: | await github.rest.actions.createWorkflowDispatch({ @@ -162,5 +161,6 @@ jobs: repo: 'OpenCL-test', workflow_id: 'windows on commit.yaml', ref: 'main', + github-token: secrets.PAT_TOKEN }); \ No newline at end of file