Skip to content

chore: release xapp-hello-world 5.0.3 #850

chore: release xapp-hello-world 5.0.3

chore: release xapp-hello-world 5.0.3 #850

name: Release Please PR Labels
on:
pull_request:
types:
- closed
jobs:
label-release-pr:
name: Label Release PR
if: "${{ startsWith(github.event.pull_request.title, 'chore: release') }}"
runs-on: ubuntu-24.04
permissions:
pull-requests: write
steps:
- name: Remove pending release label
uses: buildsville/[email protected]
with:
type: remove
labels: "release: pending"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Add ${{ github.event.pull_request.merged && 'approved' || 'rejected' }} release label
uses: buildsville/[email protected]
with:
type: add
labels: "release: ${{ github.event.pull_request.merged && 'approved' || 'rejected' }}"
token: ${{ secrets.GITHUB_TOKEN }}