parent
3e95b450ce
commit
81bddc9fd2
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -12,10 +12,6 @@
|
|||||||
name: "CodeQL"
|
name: "CodeQL"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
|
||||||
workflows: ["prbuild"]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
3
.github/workflows/dependabot-automerge.yml
vendored
3
.github/workflows/dependabot-automerge.yml
vendored
@ -15,7 +15,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Contains workaround to execute if dependabot updates the PR by checking for the base branch in the linked PR
|
# 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'
|
# The the github.event.workflow_run.event value is 'push' and not 'pull_request'
|
||||||
# dont work with multiple workflows when last returns success
|
|
||||||
if: >-
|
if: >-
|
||||||
github.event.workflow_run.conclusion == 'success'
|
github.event.workflow_run.conclusion == 'success'
|
||||||
&& github.actor == 'dependabot[bot]'
|
&& github.actor == 'dependabot[bot]'
|
||||||
@ -24,8 +23,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