File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow is provided via the organization template repository
2+ #
3+ # https://github.com/nextcloud/.github
4+ # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
6+ name : Dependabot
7+
8+ on :
9+ pull_request_target :
10+ branches :
11+ - main
12+ - master
13+ - stable*
14+
15+ permissions :
16+ contents : read
17+
18+ concurrency :
19+ group : dependabot-approve-merge-${{ github.head_ref || github.run_id }}
20+ cancel-in-progress : true
21+
22+ jobs :
23+ auto-approve-merge :
24+ if : github.actor == 'dependabot[bot]'
25+ runs-on : ubuntu-latest
26+ permissions :
27+ # for hmarr/auto-approve-action to approve PRs
28+ pull-requests : write
29+
30+ steps :
31+ # Github actions bot approve
32+ - uses : hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
33+ with :
34+ github-token : ${{ secrets.GITHUB_TOKEN }}
35+
36+ # Nextcloud bot approve and merge request
37+ - uses : ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
38+ with :
39+ target : minor
40+ github-token : ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
You can’t perform that action at this time.
0 commit comments