Skip to content

Bump actions/cache from 4.0.2 to 4.1.1 in /.github/actions/restore-python #93

Bump actions/cache from 4.0.2 to 4.1.1 in /.github/actions/restore-python

Bump actions/cache from 4.0.2 to 4.1.1 in /.github/actions/restore-python #93

Workflow file for this run

name: Needs Docs
on:
pull_request:
types: [labeled, unlabeled]
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Check for needs-docs label
uses: actions/[email protected]
with:
script: |
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number
});
const needsDocs = labels.find(label => label.name === 'needs-docs');
if (needsDocs) {
core.setFailed('Pull request needs docs');
}