Revert "update workflows"

This reverts commit 08cfd41797.
This commit is contained in:
Василий Толстов 2021-09-17 07:43:10 +03:00
parent 08cfd41797
commit f6e6211547
2 changed files with 0 additions and 7 deletions

View File

@ -12,10 +12,6 @@
name: "CodeQL"
on:
workflow_run:
workflows: ["prbuild"]
types:
- completed
push:
branches: [ master ]
pull_request:

View File

@ -15,7 +15,6 @@ jobs:
runs-on: ubuntu-latest
# Contains workaround to execute if dependabot updates the PR by checking for the base branch in the linked PR
# The the github.event.workflow_run.event value is 'push' and not 'pull_request'
# dont work with multiple workflows when last returns success
if: >-
github.event.workflow_run.conclusion == 'success'
&& github.actor == 'dependabot[bot]'
@ -24,8 +23,6 @@ jobs:
&& (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 ))
steps:
- name: Wait workflows success
uses: ahmadnassri/action-workflow-run-wait@v1
- name: Approve Changes and Merge changes if label 'dependencies' is set
uses: actions/github-script@v4
with: