We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 981ee2c commit 4e15393Copy full SHA for 4e15393
.github/workflows/deploy.yml
@@ -41,12 +41,7 @@ jobs:
41
uses: actions/github-script@v6
42
with:
43
script: |
44
- const { data: labels } = await github.rest.issues.listLabelsOnIssue({
45
- owner: context.repo.owner,
46
- repo: context.repo.repo,
47
- issue_number: context.issue.number
48
- });
49
- const hasDocumentationLabel = labels.some(label => label.name === 'documentation');
+ const hasDocumentationLabel = contains(github.event.pull_request.labels.*.name, 'documentation')
50
return hasDocumentationLabel;
51
52
- name: Find Existing Comment
0 commit comments