update workflow
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
7611c8d008
commit
d5b7526de8
6
.github/workflows/dependabot-automerge.yml
vendored
6
.github/workflows/dependabot-automerge.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: "Pull Request Auto Merge"
|
name: "prautomerge"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["prbuild", "CodeQL"]
|
workflows: ["prbuild"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
@ -24,8 +24,6 @@ jobs:
|
|||||||
&& (github.event.workflow_run.event == 'pull_request'
|
&& (github.event.workflow_run.event == 'pull_request'
|
||||||
|| (github.event.workflow_run.event == 'push' && github.event.workflow_run.pull_requests[0].base.ref == github.event.repository.default_branch ))
|
|| (github.event.workflow_run.event == 'push' && github.event.workflow_run.pull_requests[0].base.ref == github.event.repository.default_branch ))
|
||||||
steps:
|
steps:
|
||||||
- name: Wait workflows success
|
|
||||||
uses: ahmadnassri/action-workflow-run-wait@v1
|
|
||||||
- name: Approve Changes and Merge changes if label 'dependencies' is set
|
- name: Approve Changes and Merge changes if label 'dependencies' is set
|
||||||
uses: actions/github-script@v4
|
uses: actions/github-script@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user