actions: updates dependencies

This commit is contained in:
Owain van Brakel
2020-06-25 22:04:54 +02:00
parent 80c606b6ce
commit adc4735b34
2 changed files with 21 additions and 6 deletions

View File

@@ -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 }}

View File

@@ -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 ]+'