Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Commit d6262df

Browse files
committed
ci: auto-merge dependabot, manual promotion
1 parent 333baed commit d6262df

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎.github/workflows/dependabot.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Dependabot auto-approve
2-
on: pull_request
2+
on:
3+
pull_request:
4+
branches:
5+
- main
36

47

58
jobs:
@@ -24,9 +27,9 @@ jobs:
2427
fi
2528
env:
2629
PR_URL: ${{github.event.pull_request.html_url}}
27-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
30+
GITHUB_TOKEN: ${{secrets.BOT_TOKEN}}
2831
- name: Enable auto-merge for Dependabot PRs
2932
run: gh pr merge --auto --squash "$PR_URL"
3033
env:
3134
PR_URL: ${{github.event.pull_request.html_url}}
32-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
35+
GITHUB_TOKEN: ${{secrets.BOT_TOKEN}}

‎.github/workflows/promote.yml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: promote
22
on:
3-
push:
4-
branches:
5-
- main
6-
paths-ignore:
7-
- VERSION
8-
- "*/VERSION"
3+
workflow_dispatch: {}
4+
#push:
5+
# branches:
6+
# - main
7+
# paths-ignore:
8+
# - VERSION
9+
# - "*/VERSION"
10+
# - README.md
911

1012
env:
1113
CGO_ENABLED: 0

0 commit comments

Comments
 (0)