test
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
5893bdd5db
commit
2f98dbc059
4
.github/workflows/dependabot-automerge.yml
vendored
4
.github/workflows/dependabot-automerge.yml
vendored
@ -24,10 +24,12 @@ jobs:
|
|||||||
|| (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: 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.0.2
|
uses: actions/github-script@v4
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
console.log(context.payload.workflow_run);
|
||||||
|
|
||||||
var labelNames = await github.paginate(
|
var labelNames = await github.paginate(
|
||||||
github.issues.listLabelsOnIssue,
|
github.issues.listLabelsOnIssue,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user