File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # synced from @nextcloud/android-config
2+ name : Auto approve dependabot
3+
4+ on :
5+ pull_request_target :
6+ branches :
7+ - main
8+ - master
9+ - stable-*
10+
11+ permissions :
12+ contents : read
13+
14+ concurrency :
15+ group : dependabot-approve-${{ github.head_ref || github.run_id }}
16+ cancel-in-progress : true
17+
18+ jobs :
19+ auto-approve :
20+ name : Auto approve dependabot
21+ runs-on : ubuntu-latest
22+ if : github.actor == 'dependabot[bot]'
23+ permissions :
24+ # needed to approve the PR
25+ pull-requests : write
26+
27+ steps :
28+ - uses : hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
29+ with :
30+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11# synced from @nextcloud/android-config
2- name : Auto approve
2+ name : Auto approve sync
33on :
44 pull_request_target :
55 branches :
66 - master
77 - main
8+ types :
9+ - opened
10+ - reopened
11+ - synchronize
12+ - labeled
13+
14+ concurrency :
15+ group : sync-approve-${{ github.head_ref || github.run_id }}
16+ cancel-in-progress : true
817
918permissions :
1019 pull-requests : write
1120
1221jobs :
1322 auto-approve :
23+ name : Auto approve sync
1424 runs-on : ubuntu-latest
25+ if : ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
1526 steps :
1627 - uses : hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
17- if : ${{ contains(github.event.pull_request.labels.*.name, 'sync') && github.actor == 'nextcloud-android-bot' }}
1828 with :
1929 github-token : " ${{ secrets.GITHUB_TOKEN }}"
You canβt perform that action at this time.
0 commit comments