diff --git a/.github/workflows/flake-updates.yml b/.github/workflows/flake-updates.yml index 86663bb..120f891 100644 --- a/.github/workflows/flake-updates.yml +++ b/.github/workflows/flake-updates.yml @@ -18,7 +18,7 @@ jobs: - name: Update flake.lock id: update uses: DeterminateSystems/update-flake-lock@v20 - #- 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 }} diff --git a/.github/workflows/repo-list.yml b/.github/workflows/repo-list.yml index 62e0d80..eea77e1 100644 --- a/.github/workflows/repo-list.yml +++ b/.github/workflows/repo-list.yml @@ -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 }}