mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
feat(ci): use evans/enable-pull-request-automerge
This commit is contained in:
committed by
Łukasz Mierzwa
parent
793b3e655a
commit
ea131add02
9
.github/workflows/node-version.yml
vendored
9
.github/workflows/node-version.yml
vendored
@@ -34,9 +34,16 @@ jobs:
|
||||
branch: version-sync-node
|
||||
delete-branch: true
|
||||
title: "chore(actions): use latest Node version"
|
||||
labels: automerge
|
||||
|
||||
- name: Check outputs
|
||||
run: |
|
||||
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||
|
||||
- name: Enable Pull Request Automerge
|
||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
||||
uses: peter-evans/enable-pull-request-automerge@v1.1.0
|
||||
with:
|
||||
token: ${{ secrets.GH_REPO_TOKEN }}
|
||||
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
||||
merge-method: rebase
|
||||
|
||||
Reference in New Issue
Block a user