fixed trigger_pr

This commit is contained in:
Nikita Bykov 2020-08-25 11:26:34 +03:00
parent cc714b884a
commit e82dce5a38

View file

@ -165,8 +165,9 @@ jobs:
with:
github-token: ${{ secrets.PERSONAL_TOKEN }}
script: |
github.repos.createDispatchEvent({
github.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
event_type: 'create-pr'
});
workflow_id: 'create-pr.yml',
ref: 'main'
});