File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # This file is synced with beam-community/common-config. Any changes will be overwritten.
2+
3+ name : Dependabot
4+
5+ on :
6+ pull_request :
7+ types :
8+ - opened
9+ - reopened
10+ - synchronize
11+
12+ permissions :
13+ contents : write
14+ pull-requests : write
15+
16+ jobs :
17+ Dependabot :
18+ runs-on : ubuntu-latest
19+ if : github.event.pull_request.user.login == 'dependabot[bot]'
20+
21+ steps :
22+ - name : Fetch Metadata
23+ id : metadata
24+ uses : dependabot/fetch-metadata@v2
25+ with :
26+ github-token : $
27+
28+ - name : Approve PR
29+ run : gh pr review --approve "$PR_URL"
30+ env :
31+ PR_URL : $
32+ GH_TOKEN : $
33+
34+ - name : Enable auto-merge for patch and minor updates
35+ if : steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.dependency-type == 'direct:production'
36+ run : gh pr merge --auto --squash "$PR_URL"
37+ env :
38+ PR_URL : $
39+ GH_TOKEN : $
You can’t perform that action at this time.
0 commit comments