diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0602e186..c2e9a6ce 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,13 @@ version: 2 updates: - package-ecosystem: npm - directory: '/' + directories: + - '/' + schedule: + interval: daily + + - package-ecosystem: github-actions + directories: + - '/' schedule: interval: daily diff --git a/scripts/github.deps.upgrade.sh b/scripts/github.deps.upgrade.sh index 5b0d734d..04da7989 100644 --- a/scripts/github.deps.upgrade.sh +++ b/scripts/github.deps.upgrade.sh @@ -27,6 +27,11 @@ pr() { # pr_url=$(echo "$pr_output" | grep -o 'https://github\.com/[^ ]*') gh pr merge --auto --squash gh pr view --web + + # checkout and pull + git checkout main + git branch -D chore + git pull --all --prune } names=(