generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.13 KB
/
DocTagChecker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: DocTagChecker
on:
pull_request
jobs:
DocTagCheck:
runs-on: ubuntu-latest
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
permissions:
# needed to grant workflows opened by dependabot rights to create comments.
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check for missing userdoc updates
# Use the DocTagChecker version from the branch that triggered the workflow
# This is the repo relative path to actions.yml
uses: ./
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
# multiple paths are separated by whitespace or ','
userDocsDirs: __tests__/testData/
# Optional inputs with defaults:
# DON'T use '/other stuff/i' as it contains intentional fakes
# dirTagSectionRegex:
# Check userDocsDirs recursively.
recurseUserDocDirs: true
# File extensions for files to be considered documentation.
docFileExtensions: md
# File extensions for files to be considered source code.
srcFileExtensions: ts