Skip to content

Commit

Permalink
Create action to check servicing label (#84038)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyosjs authored Mar 28, 2023
1 parent ce48579 commit c3983a2
Showing 1 changed file with 21 additions and 0 deletions.
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

0 comments on commit c3983a2

Please sign in to comment.