Skip to content

Commit 4d1e421

Browse files
Merge pull request #695 from nextcloud/repo-sync/android-config/main
🔄 synced file(s) with nextcloud/android-config
2 parents 6838cee + e4ea352 commit 4d1e421

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/renovate-approve-merge.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,18 @@ jobs:
4646

4747
# GitHub actions bot approve
4848
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
49-
if: startsWith(steps.branchname.outputs.branch, 'renovate/')
49+
if: github.actor == 'renovate[bot]'
5050
with:
5151
github-token: ${{ secrets.GITHUB_TOKEN }}
5252

53-
# Enable GitHub auto merge
54-
- name: Auto merge
55-
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # v2.0.0
56-
if: startsWith(steps.branchname.outputs.branch, 'renovate/')
53+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5754
with:
58-
github-token: ${{ secrets.GITHUB_TOKEN }}
55+
ref: ${{ github.head_ref }}
56+
57+
# Enable GitHub auto merge
58+
- name: Enable Pull Request Automerge
59+
if: github.actor == 'renovate[bot]'
60+
run: gh pr merge --merge --auto
61+
env:
62+
GH_TOKEN: ${{ secrets.AUTOMERGE }}
63+

0 commit comments

Comments
 (0)