summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-10 18:38:46 -0400
committerseth <[email protected]>2024-06-10 18:38:46 -0400
commitd477e5b4feda4f8c266f730de5f8278a1aa4ea01 (patch)
treeaf1852f2b9260f7a8eaadf358147487d3c4cdbaf /.github/workflows
parentab8711659f402d84a88f056c2c8239f56965826b (diff)
ci: only enable auto-merge on created flake.lock PRs
Diffstat (limited to '.github/workflows')
-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 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 }}