Skip to content

feat: Jump to last message WPB-6518 #1647

feat: Jump to last message WPB-6518

feat: Jump to last message WPB-6518 #1647

Workflow file for this run

name: auto-merge PR
on: pull_request
permissions:
pull-requests: write
contents: write
# This job will enable auto merge on dependabots and otto-the-bot's PRs
jobs:
activate-auto-merge:
runs-on: ubuntu-latest
if: ${{github.actor == 'dependabot[bot]' || github.actor == 'otto-the-bot'}}
steps:
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
GITHUB_TOKEN: ${{secrets.OTTO_THE_BOT_GH_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}