diff --git a/.github/workflows/trigger-ci.yml b/.github/workflows/trigger-ci.yml new file mode 100644 index 000000000..2615976c4 --- /dev/null +++ b/.github/workflows/trigger-ci.yml @@ -0,0 +1,31 @@ +name: trigger-ci-job + +on: + push: + +permissions: + contents: read + +jobs: + push-job: + name: Hollow job + runs-on: ubuntu-latest + - name: show + run: | + echo "Run" + +trigger-ci-job: + runs-on: ubuntu-latest + needs: push-job + steps: + - name: Trigger CI Job Workflow + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: context.repo.owner, + repo: context.repo.repo, + workflow_id: 'aws-lc.yml', + }); + console.log(response);