Skip to content

Configuration Details: Workspace Defaults #9645

Configuration Details: Workspace Defaults

Configuration Details: Workspace Defaults #9645

Workflow file for this run

name: Team Labeler
on:
pull_request:
types: [review_requested]
jobs:
label:
name: Apply team labels
runs-on: ubuntu-20.04
steps:
- name: Set team labels as output
id: team_labels
run: |
LABELS="team: ${{ join(github.event.pull_request.requested_teams.*.slug, ', team: ') }}"
echo ::set-output name=label::${LABELS//engineering-/}
- name: Add team labels
if: join(github.event.pull_request.requested_teams.*.slug, '') != ''
uses: andymckay/[email protected]
with:
add-labels: "${{ steps.team_labels.outputs.label }}"