Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Create action to check servicing label
  • Loading branch information
hoyosjs authored and github-actions committed Mar 28, 2023
commit a05d815b5279a1d6c675b57fe32ce40cd6e47457
21 changes: 21 additions & 0 deletions .github/workflows/check-service-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: check-service-labels

permissions:
pull-requests: read

on:
pull_request:
branches:
- 'release/**'

jobs:
check-labels:
runs-on: ubuntu-latest
steps:
- name: Check servicing labels
run:
if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then
exit 0
else
exit 1
fi