Skip to content

Label PR

Label PR #3

name: Label PR
run-name: Label PR #${{ github.event.pull_request.number }}
on:
pull_request:
types: [opened, synchronize, reopened]
permissions: {}
jobs:
label:
name: Label PR
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write
steps:
- name: Check out repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Label PR
uses: bitwarden/gh-actions/auto-label-pr-sdlc@main
with:
pr-number: ${{ github.event.pull_request.number }}
pr-labels: ${{ toJSON(github.event.pull_request.labels) }}
mode: add
github-token: ${{ secrets.GITHUB_TOKEN }}