testing merge_flake_lock_update

This commit is contained in:
2025-06-22 20:23:44 -04:00
parent 747e2700ed
commit 80e0b03463
2 changed files with 20 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
name: Auto Merge Pull Request
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 6"
jobs:
merge:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Enable auto-merge
run: gh pr merge flake_lock_update --auto
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}

View File

@@ -20,12 +20,4 @@ jobs:
pr-labels: | pr-labels: |
dependencies dependencies
automated automated
- name: Enable auto-merge flake_lock_update
if: ${{ success() }}
run: |
gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{ steps.update-flake-lock.outputs.pull-request-url }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
auto-merge: true
pr-allow-automerge: true