mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
Fix enable auto merge
This commit is contained in:
parent
448a3445c8
commit
8008a6a8c3
1 changed files with 4 additions and 2 deletions
6
.github/workflows/update-dependencies.yaml
vendored
6
.github/workflows/update-dependencies.yaml
vendored
|
@ -6,7 +6,8 @@ on:
|
|||
- cron: '0 18 * * TUE'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
update:
|
||||
|
@ -37,7 +38,8 @@ jobs:
|
|||
title: Update dependencies
|
||||
delete-branch: true
|
||||
- name: Enable auto merge
|
||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
||||
uses: peter-evans/enable-pull-request-automerge@v2
|
||||
with:
|
||||
token: ${{ secrets.PERSONAL_TOKEN_PR }}
|
||||
# Can't use the fine-grained token here because they don't have access to the GraphQL API.
|
||||
pull-request-number: ${{ steps.create-pull-request.outputs.pull-request-number }}
|
||||
|
|
Loading…
Reference in a new issue