Skip to content

build(deps): bump github.com/go-resty/resty/v2 from 2.7.0 to 2.15.1 #796

build(deps): bump github.com/go-resty/resty/v2 from 2.7.0 to 2.15.1

build(deps): bump github.com/go-resty/resty/v2 from 2.7.0 to 2.15.1 #796

name: Check for "option.do-not-merge" Label
on:
pull_request:
types: [labeled, unlabeled, synchronize, opened, reopened]
jobs:
check_label:
runs-on: [arc-runner-set]
steps:
- name: Check for "option.do-not-merge" label
id: check_label
uses: actions/github-script@v7
with:
script: |
const labels = context.payload.pull_request.labels.map(label => label.name);
if (labels.includes("option.do-not-merge")) {
core.setFailed('The "option.do-not-merge" label is present. PR cannot be merged.');
}