From 114a1951712a9c4a05c06e4930f95c3b18119e1c Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 10 Jun 2024 18:39:20 -0400 Subject: ci: only enable auto-merge on created flake.lock PRs --- .github/workflows/update-lock.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml index 35fa686..68409b2 100644 --- a/.github/workflows/update-lock.yaml +++ b/.github/workflows/update-lock.yaml @@ -29,6 +29,7 @@ jobs: - name: Enable auto-merge shell: bash + if: steps.update.outputs.pull-request-number != '' run: gh pr merge --auto --squash "$PR_ID" env: GH_TOKEN: ${{ secrets.MERGE_TOKEN }} -- cgit v1.2.3