Skip to content

[QUEST]Sandoria Teleport Scroll Quest to IF #3430

[QUEST]Sandoria Teleport Scroll Quest to IF

[QUEST]Sandoria Teleport Scroll Quest to IF #3430

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)
}
}