Skip to content

refactor(protocol): refactor tier provider & address caching and add ComposeVerifier #431

refactor(protocol): refactor tier provider & address caching and add ComposeVerifier

refactor(protocol): refactor tier provider & address caching and add ComposeVerifier #431

Workflow file for this run

name: Check for "option.do-not-merge" Label
on:
pull_request:
types: [labeled, unlabeled, synchronize, opened, reopened]
jobs:
check_label:
runs-on: ubuntu-latest
steps:
- name: Check for "option.do-not-merge" label
id: check_label
uses: actions/github-script@v6
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.');
}