angular/.github/workflows/dev-infra.yml
Joey Perrott ad8ccedeca build: enable the branch manager action in the repo (#47942)
Set up the branch manager action to automatically monitor if a pull request is able to merge into its target branches

PR Close #47942
2022-11-03 17:54:41 -07:00

25 lines
843 B
YAML

name: DevInfra
on:
pull_request_target:
types: [opened, synchronize, reopened]
# Declare default permissions as read only.
permissions:
contents: read
jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- uses: angular/dev-infra/github-actions/commit-message-based-labels@aa4dcc8fa853e6b5f3345e6f1bac5255c7d7a871
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
post_approval_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- uses: angular/dev-infra/github-actions/post-approval-changes@aa4dcc8fa853e6b5f3345e6f1bac5255c7d7a871
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}