actions: updates dependencies
This commit is contained in:
25
.github/workflows/merge.yml
vendored
25
.github/workflows/merge.yml
vendored
@@ -12,10 +12,25 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: automerge
|
- name: automerge
|
||||||
uses: pascalgn/automerge-action@v0.8.0
|
uses: pascalgn/automerge-action@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
MERGE_FORKS: "false"
|
MERGE_FORKS: false
|
||||||
MERGE_LABELS: "automated-pull-request"
|
MERGE_LABELS: automated-pull-request
|
||||||
MERGE_REMOVE_LABELS: ""
|
|
||||||
MERGE_DELETE_BRANCH: "true"
|
cleanup:
|
||||||
|
name: Cleanup
|
||||||
|
needs: automerge
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Extract branch name
|
||||||
|
shell: bash
|
||||||
|
run: echo "##[set-output name=branch;]$(echo $(jq --raw-output .pull_request.head.ref "$GITHUB_EVENT_PATH"))"
|
||||||
|
id: extract_branch
|
||||||
|
|
||||||
|
- name: Delete PR head branch
|
||||||
|
uses: dawidd6/action-delete-branch@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
branches: ${{ steps.extract_branch.outputs.branch }}
|
||||||
|
|||||||
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: PR title lint
|
- name: PR title lint
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: seferov/pr-lint-action@v1.0.3
|
uses: seferov/pr-lint-action@v1.1.1
|
||||||
with:
|
with:
|
||||||
title-regex: '^([\w-/ ]+): [\w ]+'
|
title-regex: '^([\w-/ ]+): [\w ]+'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user