File tree 1 file changed +18
-1
lines changed 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -150,4 +150,21 @@ jobs:
150
150
subject-name : ${{ env.IMAGE_REGISTRY }}/${{ steps.build_image.outputs.image }}
151
151
subject-digest : ${{ steps.push.outputs.digest }}
152
152
push-to-registry : true
153
- if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
153
+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
154
+
155
+ automerge :
156
+ needs : build
157
+ runs-on : ubuntu-latest
158
+
159
+ if : github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
160
+
161
+ permissions :
162
+ contents : write
163
+ pull-requests : write
164
+
165
+ steps :
166
+ - name : Automatically merge allowed PRs
167
+ run : gh pr merge --auto --merge "$PR_URL"
168
+ env :
169
+ PR_URL : ${{ github.event.pull_request.html_url }}
170
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments