Skip to content

[lua] Ensure white procs can't happen without SJ_RESTRICTION effect in Dynamis #4465

[lua] Ensure white procs can't happen without SJ_RESTRICTION effect in Dynamis

[lua] Ensure white procs can't happen without SJ_RESTRICTION effect in Dynamis #4465

Workflow file for this run

name: "pr_labels"
on:
pull_request_target:
types:
- opened
- labeled
- unlabeled
- synchronize
- reopened
jobs:
Check_Blocking_Labels:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/github-script@v7
with:
script: |
const response = await github.rest.issues.listLabelsOnIssue({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
});
for (const idx in response.data)
{
const entry = response.data[idx];
if (entry.name === "hold" || entry.name === "squash")
{
console.log("Found PR-blocking label: " + entry.name)
core.setFailed("Found PR-blocking label: " + entry.name)
}
}