feat(protocol): upgrade sp1 contract to v4.0.0-rc.3 #4659
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for "option.do-not-merge" Label | |
on: | |
pull_request: | |
types: [labeled, unlabeled, synchronize, opened, reopened] | |
jobs: | |
check_label: | |
if: github.event.pull_request.draft == false | |
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.'); | |
} |