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 ce33ff9 commit 1f1a3e8Copy full SHA for 1f1a3e8
.github/workflows/deploy.yml
@@ -41,9 +41,8 @@ jobs:
41
uses: actions/github-script@v6
42
with:
43
script: |
44
- const labels = github.event.pull_request.labels.map(label => label.name);
45
- return labels.includes('documentation');
46
- result-encoding: string
+ const hasDocumentationLabel = contains(github.event.pull_request.labels.*.name, 'documentation')
+ return hasDocumentationLabel;
47
48
- name: Find Existing Comment
49
if: ${{ github.event_name == 'pull_request_target' && steps.check-label.outputs.result == 'true' }}
0 commit comments