Skip to content

@box/boxcli v3.15.0 release note #215

@box/boxcli v3.15.0 release note

@box/boxcli v3.15.0 release note #215

Workflow file for this run

# This workflow listens to any new labels being added to
# a Pull Request. When the `automerge` label is added, it
# checks if all required checks pass and automerges the
# pull request.
name: Auto Merge PRs
on:
pull_request:
types:
- labeled
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: Auto-merge pull requests that pass CI tests
uses: "pascalgn/[email protected]"
env:
# Use the DISPATCH_ACCESS_TOKEN again, as we will want to doo this as
# the box-devrel user. Without this token, a merg won't trigger an
# automatic deploy to the `en` branch.
GITHUB_TOKEN: "${{ secrets.DISPATCH_ACCESS_TOKEN }}"
# Prefer a squash merge
MERGE_METHOD: squash
# Requrie the automerge label to be present
MERGE_LABELS: automerge
# Remove all labels after the fact
MERGE_REMOVE_LABELS: "automerge, allow-automerge"
# Delete the branch after merging
MERGE_DELETE_BRANCH: true
# Only allow this for the box-devrel user. This prevents
# abuse of the `automerge` label.
MERGE_FILTER_AUTHOR: "box-devrel"