From d477e5b4feda4f8c266f730de5f8278a1aa4ea01 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 10 Jun 2024 18:38:46 -0400 Subject: ci: only enable auto-merge on created flake.lock PRs --- .github/workflows/update-lock.yaml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml index c38cc6e..6037a01 100644 --- a/.github/workflows/update-lock.yaml +++ b/.github/workflows/update-lock.yaml @@ -41,6 +41,7 @@ jobs: - name: Enable auto-merge shell: bash + if: steps.update.outputs.pull-request-number != '' run: gh pr merge --auto --rebase "$PR_ID" env: GH_TOKEN: ${{ secrets.MERGE_TOKEN }} -- cgit v1.2.3