Commit 0439d3b5 authored by Meenakshi Sharma's avatar Meenakshi Sharma Committed by GitHub
Browse files

Create docs PR wokflow (#226)


Signed-off-by: default avatarMeenakshi Sharma <163925564+nvda-mesharma@users.noreply.github.com>
Co-authored-by: default avatarAnant Sharma <anants@nvidia.com>
parent e6be74ba
name: Documentation update checker
on:
pull_request:
types: [opened]
paths:
- 'deploy/Kubernetes/**'
- '**/*.md'
- 'CODEOWNERS'
jobs:
pr_reminder:
runs-on: ubuntu-latest
steps:
- name: Skipping full CI for documentation
uses: actions/github-script@v7
env:
REPOSITORY: ${{ github.repository }}
CONTRIBUTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const { REPOSITORY, CONTRIBUTOR } = process.env
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `👋 Hi ${CONTRIBUTOR}! Thank you for contributing to ${REPOSITORY}.\n\n` +
`This change is made to a file that does not require full CI testing. A repository admin will review these changes.\n\n` +
`Once verified, the reviewer will merge the PR. Thanks! \n\n` +
`🚀`
})
- name: Adding Label
uses: actions/github-script@v7
env:
REPOSITORY: ${{ github.repository }}
CONTRIBUTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const { REPOSITORY, CONTRIBUTOR } = process.env
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ["documentation"]
});
...@@ -20,9 +20,14 @@ Cargo.toml @ryanolson @grahamking @paulhendricks @biswapanda @tmonty12 ...@@ -20,9 +20,14 @@ Cargo.toml @ryanolson @grahamking @paulhendricks @biswapanda @tmonty12
/deploy/Kubernetes/ @whoisj @hutm @biswapanda /deploy/Kubernetes/ @whoisj @hutm @biswapanda
# CI/CD # CI/CD
/.github/ @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv /.github/ @triton-inference-server/devops
CODEOWNERS @triton-inference-server/devops
# Legal # Legal
/LICENSE @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv /LICENSE @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv
/ATTRIBUTIONS.md @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv /ATTRIBUTIONS.md @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv
Cargo.lock @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv @ryanolson @grahamking @paulhendricks Cargo.lock @nv-anants @nvda-mesharma @glos-nv @dmitry-tokarev-nv @ryanolson @grahamking @paulhendricks
# Documentation updates:
*.md @triton-inference-server/devops
**/*.md @triton-inference-server/devops
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment