summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-10 18:39:20 -0400
committerseth <[email protected]>2024-06-10 18:39:20 -0400
commit114a1951712a9c4a05c06e4930f95c3b18119e1c (patch)
treee7b53d22c7b7467ca5f4db16b9dbdfe2e34eaf59
parent0eeabcca8362d37d0563e5315a00d50cae73308a (diff)
ci: only enable auto-merge on created flake.lock PRs
-rw-r--r--.github/workflows/update-lock.yaml1
1 files changed, 1 insertions, 0 deletions
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 }}