Skip to content

[release/9.0-staging] Fix getting resource when ResourceResolve returns assembly with resource that is an assembly ref #15939

[release/9.0-staging] Fix getting resource when ResourceResolve returns assembly with resource that is an assembly ref

[release/9.0-staging] Fix getting resource when ResourceResolve returns assembly with resource that is an assembly ref #15939

name: check-service-labels
permissions:
pull-requests: read
on:
pull_request_target:
types: [opened, reopened, labeled, unlabeled]
branches:
- 'release/**'
jobs:
check-labels:
if: github.repository == 'dotnet/runtime'
runs-on: ubuntu-latest
steps:
- name: Check 'Servicing-approved' label
run: |
echo "Merging permission is enabled for servicing PRs when the 'Servicing-approved' label is applied."
if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then
exit 0
else
echo "::error:: 'Servicing-approved' label not applied to the PR yet. More information: https://github.com/dotnet/runtime/blob/main/docs/project/library-servicing.md#approval-process"
exit 1
fi