.github/workflows: disable automerge

This commit is contained in:
zowoq 2023-11-14 08:50:40 +10:00
parent dd242e466a
commit ac3afe1e8b
2 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@ jobs:
uses: DeterminateSystems/update-flake-lock@v20
with:
inputs: ${{ inputs.flakeInput }}
- name: Enable Automerge
run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
#- name: Enable Automerge
# run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
# env:
# GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}

View file

@ -30,8 +30,8 @@ jobs:
commit-message: ${{ steps.setup.outputs.title }}
title: ${{ steps.setup.outputs.title }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable Automerge
if: steps.update.outputs.pull-request-operation == 'created'
run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
#- name: Enable Automerge
# if: steps.update.outputs.pull-request-operation == 'created'
# run: gh pr merge --rebase --auto "${{ steps.update.outputs.pull-request-number }}"
# env:
# GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}