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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 6"
|
- cron: "0 2 * * 6"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
merge:
|
merge:
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
run: gh pr merge flake_lock_update --auto
|
run: gh pr merge flake_lock_update --auto
|
||||||
- name: Enable auto-merge
|
- name: Enable auto-merge
|
||||||
run: |
|
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
|
if [ -n "$pr_number" ]; then
|
||||||
gh pr merge "$pr_number" --auto
|
gh pr merge "$pr_number" --auto
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user