Skip to content

Chakra, Dodge, Focus retail functionality audit #4241

Chakra, Dodge, Focus retail functionality audit

Chakra, Dodge, Focus retail functionality audit #4241

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