mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
small update
This commit is contained in:
@@ -2,7 +2,7 @@ name: Auto Merge Pull Request
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * 6"
|
||||
- cron: "0 2 * * 6"
|
||||
|
||||
jobs:
|
||||
merge:
|
||||
@@ -17,7 +17,7 @@ jobs:
|
||||
run: gh pr merge flake_lock_update --auto
|
||||
- name: Enable auto-merge
|
||||
run: |
|
||||
pr_number=$(gh pr list --state open --author "RichieCahill" --label flake_lock_update --json number --jq '.[0].number')
|
||||
pr_number=$(gh pr list --state open --author RichieCahill --label flake_lock_update --json number --jq '.[0].number')
|
||||
if [ -n "$pr_number" ]; then
|
||||
gh pr merge "$pr_number" --auto
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user