An error during validation of inbound links breaks the docs-build
check on the elasticsearch/9.1
branch
#22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Auto-add triage label | |
on: | |
issues: | |
types: | |
- opened | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
add-triage-label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add needs triage label | |
uses: actions/github-script@v8 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
labels: ['needs triage'] | |
}) |