Skip to content

Commit

Permalink
refactor: batch update of project dependencies and configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrgm committed Dec 17, 2023
1 parent 7303626 commit 41b07df
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .anvil.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"generated_at": "2023-12-17T19:20:06.005381304Z",
"generated_at": "2023-12-17T19:44:01.70641145Z",
"version": "1.2.1",
"files": [
{
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: automerge

on: pull_request_target
on: pull_request

permissions:
contents: write
Expand Down Expand Up @@ -43,4 +43,20 @@ jobs:
env:
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }}

cbrgm:
runs-on: ubuntu-latest
if: github.actor == 'cbrgm' && contains(github.event.pull_request.labels.*.name, 'auto-merge')

steps:
- name: Approve request
id: approve
run: gh pr review --approve ${{ github.event.pull_request.html_url }}
env:
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }}

- name: Enable automerge
id: automerge
run: gh pr merge --rebase --auto ${{ github.event.pull_request.html_url }}
env:
GH_TOKEN: ${{ secrets.BOT_PAT_TOKEN }}
...

0 comments on commit 41b07df

Please sign in to comment.